A small CRM system for universities is made for a real business task. There are pytest tests, FactoryBoy. The project uses CRUD with Pydantic, SqlAlchemy and Alembic. JWT authorization is used. API documentation is available in Swagger
Endpoint map with documentation for 127.0.0.1 (standard host + port):
- Swagger http://127.0.0.1:8000/docs
git clone <project_url>
cd <project_name>
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
cd app
python3 backend_pre_start.py
alembic upgrade head
python3 initial_data.py
uvicorn main:app --reload
git clone <project_url>
cd <project_name>
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
cd app
python3 backend_pre_start.py
alembic upgrade head
python3 initial_data.py
python3 -m pytest tests