Skip to content

hayderab/aws-tutor-python-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# AWS Tutor Backend (Python) Single FastAPI backend replacing the Node/Express service. ## Stack - FastAPI + Uvicorn - Pydantic v2 + pydantic-settings - Loguru for logging - (Planned) MongoDB via Beanie/Motor for content reads - (Planned) Postgres via SQLAlchemy for app data ## Quick start 1. Create a virtual environment and install deps: - Python 3.10+ - `pip install -r requirements.txt` 2. Set environment variables (see `.env.example`). 3. Run the API: - `uvicorn app.main:app --reload --port 5000` 4. Check health: `GET http://localhost:5000/api/health` ## Environment Copy `.env.example` to `.env` and fill values. ## Development - Routers live in `app/routers/` - Config in `app/core/config.py` - DB init in `app/db.py` - Add tests in `tests/` ## Next - Implement Payload/Supabase JWT auth dependency - Port certifications routes with response parity - Add Mongo Beanie models mirroring CMS collections # aws-tutor-python-backend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages