Skip to content

allitov/books-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books API

API for books services.

The application provides opportunities to create and save data about books and their categories.

Running locally

Cloning the repository and moving to the working directory

git clone https://github.com/allitov/books-api.git
cd books-api

Run the application in default mode

docker-compose --file ./docker/docker-compose-default.yaml up -d

Stop the application

docker-compose --project-name="books-api" down

Run the application in demonstration mode (Contains entries in the database)

docker-compose --file ./docker/docker-compose-demo.yaml up -d

Stop the application

docker-compose --project-name="books-api-demo" down

Run application environment only

docker-compose --file ./docker/docker-compose-env.yaml up -d

Stop the environment

docker-compose --project-name="books-api-env" down

Documentation

To familiarize yourself with the application's API and see example queries, you can refer to the interactive Swagger documentation (available only after launching the application).