A FastAPI-based application to manage tasks with PostgreSQL, SQLAlchemy, and Alembic.
📄PDF File: Architecture-Design-Task-Management-System.pdf
- Create, update, delete, and list tasks
- Task status: pending, in-progress, completed
- Pagination support
- Health check endpoint
- PostgreSQL with SQLAlchemy ORM
- Alembic for migrations
- Python 3.8+
- PostgreSQL
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Run Alembic migrations:
alembic upgrade head- Start the app:
uvicorn app.main:app --reloadConfigure your database URL in app/database.py:
DATABASE_URL = "postgresql://DUMMY-USERNAME:DUMMY-PASSWORD@localhost:5432/task_db"🔗 Visit http://localhost:8000/docs
📁 Folder: Postman-Collection/Task-Manager-API.postman_collection.json