This service covers some of the essential REST APIs of an E-Wallet application including authentication system and transaction management system.
Installation
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 change server.address and/or server.port.http, please update swagger annotations in main.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 run go 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.