Skip to content

sultanalieva-s/schedule-api

Repository files navigation

A REST API for Schedule App, Mazars Test Assignment

How to Run

  1. Build and Run with Docker Compose:

    docker-compose up --build
  2. Run Manually (without Docker):

    uvicorn main:app --host 0.0.0.0 --port 8000 --reload

.env File

Create a .env file in the root directory with the following environment variables:

MONGO_ATLAS_URI=your_database_url
MONGO_DB_NAME=your_database_name

Also, see .env.example file

I created a test database stored on Mongo Atlas Cloud, to use it set the following env values:

MONGO_ATLAS_URI='mongodb+srv://saadat:[email protected]/?retryWrites=true&w=majority&appName=Schedule'
MONGO_DB_NAME='shedule'

Docs URL

Open API documentation can be accessed at:

http://localhost:8000/docs/

Releases

No releases published

Packages

No packages published