Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephnna/crud_with_fastapi
https://github.com/stephnna/crud_with_fastapi
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stephnna/crud_with_fastapi
- Owner: stephnna
- Created: 2024-07-21T19:55:28.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T07:33:22.000Z (5 months ago)
- Last Synced: 2024-07-22T08:38:27.475Z (5 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastAPI CRUD Application
This is a simple CRUD (Create, Read, Update, Delete) application built using FastAPI, SQLAlchemy, and SQLite.
## Features
- Create new items
- Retrieve an item by ID
- Retrieve all items
- Update an item by ID
- Delete an item by ID## Installation
### Prerequisites
- Python 3.8 or higher
- pip (Python package installer)### Setup
1. **Clone the repository:**
```bash
git clone [email protected]:stephnna/crud_with_fastapi.git
cd crud_with_fastapipython -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`pip install -r requirements.txt
### Run
uvicorn main:app --reloadAccess the interactive API documentation:
Swagger UI: http://127.0.0.1:8000/docs
ReDoc: http://127.0.0.1:8000/redoc