mini-e-wallet

command module
v0.0.0-...-0bcc17c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 1 Imported by: 0

README

Mini E-Wallet Service

Description

This service covers some of the essential REST APIs of an E-Wallet application including authentication system and transaction management system.

Installation

  1. Run make setup command to make a copy of config example, fetch all dependencies, and install swagger command.
  2. 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.
  3. Create new database under the same schema as database.sql.schema in config file.
  4. 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.
  5. Open http://localhost:2201/swagger/index.html in your browser to see the contracts.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL