Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 812 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 812 Bytes

Run

to run application prepare the .env file in the root directory. The file should contains the following environment variables:

POSTGRES_DB_HOST=postgresdb
POSTGRES_DB_PORT=5432
POSTGRES_DB_NAME=quotes_db
POSTGRES_DB_USER=postgres
POSTGRES_DB_PASSWORD=password

then execute the following command:

docker-compose up --build

and then you can test it over Swagger UI. You can also import postman's collections (quotes-service.postman_collection.json and quotes-service-environment.postman_environment.json) which contain definitions of the request.

Business requirements

The business requirements were described here.