Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.04 KB

File metadata and controls

57 lines (43 loc) · 1.04 KB

FastAPI Authentication Service

A personal backend project built with FastAPI to explore authentication, API design, and backend architecture in Python.

Features

  • User registration and login
  • JWT authentication
  • Protected endpoints using FastAPI dependencies
  • Todo CRUD operations
  • Request validation with Pydantic
  • SQLite persistence using SQLAlchemy ORM
  • Layered architecture (Controllers, Services, Models, Core)

Tech Stack

  • Python 3.10+
  • FastAPI
  • SQLAlchemy
  • SQLite
  • PyJWT
  • Passlib (bcrypt)
  • Uvicorn

Project Structure

app/
├── controllers/
├── services/
├── models/
├── core/
└── main.py

Running the Project

pip install -r requirements.txt
uvicorn main:app --reload

API Documentation:

Purpose

This project was created to learn and practice:

  • JWT-based authentication
  • Dependency injection
  • RESTful API development
  • SQLAlchemy ORM
  • Backend architecture patterns
  • Secure API design