simple_bank is a backend service for managing bank accounts. It provides APIs for creating accounts, performing transactions, and tracking balances.
- Create and manage bank accounts.
- Perform transfers.
- Track account balances and transaction history.
- Secure authentication and authorization for users.
- Programming Language: Go (Golang)
- Database: PostgreSQL
- API Framework: Gin
- Authentication: JSON Web Tokens (JWT)
- Clone the repository:
git clone https://github.com/duythien2212/simple_bank.git
- Start the PostgreSQL database using Docker:
make postgres
- Create the database:
make createdb
- Run database migrations:
make migrateup
- (Optional) Generate SQL code using
sqlc:make sqlc
- Start the server:
make server