Overview
A FastAPI-powered platform connecting artisans and customers, featuring secure authentication, wallet, and admin roles.
My Role & Impact
- Led backend architecture and API design
- Implemented secure JWT auth (access/refresh), password hashing, and RBAC
- Designed database schema & migrations (SQLAlchemy + Alembic)
- Structured codebase with routers, schemas, services, models, utils
Tech Stack
FastAPI, Python, PostgreSQL, SQLAlchemy, Alembic, Pydantic, Uvicorn
Key Endpoints (sample)
POST /auth/signup-customer,/auth/signup-artisan,/auth/loginGET /users/me,PATCH /users/mePOST /jobs,GET /jobs,POST /jobs/{id}/bidsPOST /wallet/fund,POST /wallet/transfer,GET /wallet/transactions- Admin:
GET /admin/users,PATCH /admin/users/{id},DELETE /admin/users/{id}
Code & Links
Challenges & Outcomes
- Strict Pydantic validation reduced runtime errors
- Service-layer separation made business logic reusable/testable
- JWT expiry & refresh flow prevented auth edge cases