- go language
- docker
- docker-compose
- clone project
$ git clone /~https://github.com/danangkonang/rental-book.git
$ cd rental-book
- build app with docker-compose
$ docker-compose up --build -d
-
runing migration and seeder inside container
We use gomigrator to generate migration and seeder
# need for fist build
$ docker exec -it golang-api ash
$ ./gomigrator run migration && ./gomigrator run seeder
$ exit
$ curl http://localhost:9000
other endpoint you can import this student-library.postman_collection.json file to yaur postman
$ docker-compose down