- environment (using direnv)
- service account for gcp.
- save it as serviceAccount.json
> cp .envrc.tepl .envrc
> direnv allow
# build image
> docker-compose build
# container start
> docker-compose up -d default-db
# server start
> realize start
- example of default server
> curl -X GET http://localhost:8080/customers/DUMMY_USER_ID -v
- generate server code by sql boiler
> dokcer-compose up -d default-db
> make test
> docker build -f ./docker/production/default/Dockerfile .
- data layer
- It is responsibility to handle the data
- interested in database etc.
- struct for setting the result of SQL etc....
- write the actual data manipulation process
- write interface for infrastructure/repository and convert entity to domain
- write application logic using repository
- write usecase using repository and service
- write the process about request and response