FastAPI Backend - Learning Project
This repository contains a backend API built using FastAPI, SQLAlchemy, and PostgreSQL
The goal of this project is to understand backend development fundamentals, including authentication, database modeling, and API design.
Features Implemented
- User authentication using JWT
- Secure password hashing
- CRUD operations for posts
- Ownership-based authorization
- Voting system with constraints
- PostgreSQL integration using SQLAlchemy ORM
- Environment-based configuration using
.env - Clean project structure with routers, models, and schemas
Tech Stack
Framework: FastAPI
DB: PostgreSQL
ORM: SQLAlchemy
Authentication: JWT
Model Validation: Pydantic