An open API service indexing awesome lists of open source software.

https://github.com/robinhood3082/simplebank

Sample Banking API, made simple with Go
https://github.com/robinhood3082/simplebank

email go golang grpc grpc-gateway grpc-go grpc-server jwt paseto postgresql protobuf protocol-buffers redis-queue stdlib validator viper worker-service

Last synced: 10 days ago
JSON representation

Sample Banking API, made simple with Go

Awesome Lists containing this project

README

        

# SimpleBank

Banking API sample. (Work-in-progress, not very organized yet).

## Features

- User registration and authentication
- Account creation and management
- Deposit and withdrawal functionality
- Transaction history tracking
- Email notification
- Role-based admin control

## Installation

To run the project, follow these steps:

1. Run `make postgres` to run the postgres server in docker with the necessary envs.
2. Run `make createdb` to create the DB in postgres.
3. Run `make migrateup` to run the DB migrations.
4. Now you are ready to use `make server` any time you want to run the server.

To add new migrations:
`migrate create -ext sql -dir internal/db/migration -seq `