Skip to content

danangkonang/rental-book

Repository files navigation

Rental Book

Requirements

  • go language
  • docker
  • docker-compose

How to running this app

  1. clone project
$ git clone /~https://github.com/danangkonang/rental-book.git

$ cd rental-book
  1. build app with docker-compose
$ docker-compose up --build -d
  1. 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

Tes

$ curl http://localhost:9000

other endpoint you can import this student-library.postman_collection.json file to yaur postman

To stop this app

$ docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages