Skip to content

A minimal, single-file FastAPI backend with complete CRUD operations. Perfect for prototypes, demos, and learning.

Notifications You must be signed in to change notification settings

nbolok-code/Python-Backend-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One-File Backend

A simple, single-file FastAPI backend with CRUD operations for users and items.

Features

  • Complete CRUD operations
  • In-memory database
  • Auto-generated documentation
  • Health check endpoint
  • Type hints and validation

Quick Start

  1. pip install fastapi uvicorn
  2. python backend.py
  3. Visit http://localhost:8000/docs

Endpoints

  • GET / - API information
  • GET /health - Health check
  • GET /stats - Statistics
  • POST/GET/DELETE /users - User management
  • POST/GET/DELETE /items - Item management

About

A minimal, single-file FastAPI backend with complete CRUD operations. Perfect for prototypes, demos, and learning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages