# README
Quick start (local):
- create
.env
file and copy the contents from.env.example
- change your
.env
content by using your environment - start the app, run
go run cmd/api.go
- hit url/api/v1/health to health check
- run this command on your terminal to seed data
go run pkg/database/gorm/seeder/run.go up
Quick start (docker):
docker compose up (wait until server up)
docker exec mezink /seeder up
you can access the app at port 3000 and db at port 3306.
plus point this test app have:
- delivering working RESTful API
- clean and production code ready (docker multistage build with lean image size)
- error handling with .log folder
- readme quick start doc with postman doc and its success examplepostman
- avoid over engineering (tried to implement clean architecture or at least singleton architecture)