Build web-based applications that run inside Docker containers, it has CRUD features and uses a PostgreSQL database as storage.
/book => [POST, GET, DELETE, PUT]
/borrow => [POST]
/return => [POST]
Use Makefile for simple commands.
- Make sure docker and docker-compose are installed
- Make sure service for docker is running
To start container, use command:
docker-compose up
To build container, use command:
docker-compose up --build
To stop container, use command:
docker-compose down
To show log container, use command:
docker-compose logs -f