Skip to content

Build web-based applications that run inside Docker containers, it has CRUD features and uses a Postgresql database as storage.

License

Notifications You must be signed in to change notification settings

ardisyahputra12/library-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library App

Build web-based applications that run inside Docker containers, it has CRUD features and uses a PostgreSQL database as storage.

Endpoints

/book => [POST, GET, DELETE, PUT]

/borrow => [POST]

/return => [POST]

How to run?

Use Makefile for simple commands.

Requirements

  • Make sure docker and docker-compose are installed
  • Make sure service for docker is running

Testing

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

About

Build web-based applications that run inside Docker containers, it has CRUD features and uses a Postgresql database as storage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published