A beginner-friendly backend project built using Python, FastAPI, and SQLite. This project demonstrates basic backend development skills such as API creation, database integration, and CRUD operations.
- Create, read, update, and delete products
- Track product quantity (inventory)
- RESTful API built using FastAPI
- SQLite database for simplicity
- Auto-generated API documentation (Swagger UI)
- Python 3
- FastAPI
- SQLAlchemy
- SQLite
- Uvicorn
simple-product-inventory-management/ │ ├── app/ │ ├── main.py │ ├── database.py │ ├── models.py │ ├── schemas.py │ └── crud.py │ ├── README.md ├── requirements.txt └── venv/
-
Clone the repository: git clone https://github.com/Nitheesh24/simple-product-inventory-management.git
-
Navigate into the project: cd simple-product-inventory-management
-
Create and activate virtual environment: python -m venv venv venv\Scripts\activate
-
Install dependencies: pip install -r requirements.txt
-
Run the application: uvicorn app.main:app --reload
-
Open browser: http://127.0.0.1:8000/docs
- POST /products/ → Add new product
- GET /products/ → List all products
- GET /products/{id} → Get product by ID
- PUT /products/{id} → Update product
- DELETE /products/{id} → Delete product
This project was created to demonstrate:
- Python backend development
- REST API design
- Database interaction using SQL
- Clean and readable project structure
Nitheesh Thotakura
GitHub: https://github.com/Nitheesh24