- Python
- FastApi
- Async MongoDB
- Poetry
- Pydantic
- Async Pytest
- Sentry
- Docker
- PreCommit Hooks
- JWT Authentication
git clone git@github.com:MbxrAteeq/fastapi-task.git
cp .env.sample .env
docker compose build
docker compose up -d
cd fastapi-task
python -m venv venv
source venv/bin/activate
bash ./setup.sh
cp .env.sample .env
Update the MONGODB_URL environment variables to this mongodb://localhost:27017/
.
bash run.sh
The server will be accessible here and swagger docs here 😎.
pytest -vv -s