This is a Go REST API service that manages users, sessions and blockchain-write-transaction entries on a Postgres DB.
Note:
Make sure to add a valid app.env file (refer app.env.example).
Make sure you have go, docker and golang-migrate (https://github.com/golang-migrate) on your system.
Get dependent go modules:
go mod tidy
Run dockerized postgres service:
make postgres
Create DB in postgres:
make createdb
Run migration to create tables in db:
make migrateup
Run tests:
make test
Run server:
make server