This service covers some of the essential REST APIs of an E-Wallet application including authentication system and transaction management system.
- Run
make setup
command to make a copy of config example, fetch all dependencies, and install swagger command. - Update
internal/app/config.yaml
file with your own credentials.
NOTE: If you change You need to changeserver.address
and/orserver.port.http
, please update swagger annotations inmain.go
as well. - Create new database under the same schema
as database.sql.schema
in config file. - Run
make run
to generate API docs and start the http server. Or simply rungo run main.go
to start the server without re-generating API docs. - Open
http://localhost:2201/swagger/index.html
in your browser to see the contracts.