- this project using Golang latest v1.21
- split service into transport, domain, handler, repo and storage
- use Postgres for primary database
- use Redis for caching and handle count today task of user
- migration with
goose
- development code with docker, docker-compose and taskfile
- build a optimize dockerfile
- setup docker-compose with postgres, redis, server
Use the following guide to get started with abank on your machine.
- Golang: Install Golang
- Clone the project from the repository:
git clone https://github.com/phathdt/abank.git
cd abank
- Build docker image app
docker-compose build
- Run server, postgres, redis
docker-compose up
check swagger at http://localhost:4000/swagger/index.html
- add test layer
- split server into api and worker for read/write purpose
- add authen jwt