Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

FastAPI Backend

A simple FastAPI backend application.

Structure

app/
__init__.py
main.py # FastAPI app and router registration
config.py # Settings (pydantic-settings)
api/
routes/
health.py # /health, /health/live
example.py # /api/items
models/
schemas.py # Pydantic request/response models
requirements.txt
README.md

Setup & Run

python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload

Endpoints

MethodPath
GET/
GET/health
GET/health/live
GET/api/items
POST/api/items
GET/api/items/{id}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages