This is a backend application built with FastAPI, a modern, fast Python web framework for building APIs.
- Fast, async-first API development
- Automatic interactive API documentation (Swagger UI)
- Built-in data validation with Pydantic
- Type hints support
- Python 3.7+
pip install -r requirements.txt
git clone https://github.com/divgunjan/fastapi.git
cd fastapipip install -r requirements.txt- FastAPI
- Uvicorn
- SQLAlchemy
- Pydantic
- Alembic (for database migrations)
pip install fastapi uvicornuvicorn main:app --reloadThe API will be available at http://localhost:8000
- Swagger UI:
http://localhost:8000/docs - ReDoc:
http://localhost:8000/redoc
backend_fastapi/
├───.venv
├───.vscode
├───.idea
├───migrations
│ └───versions
├───src
│ ├───auth
│ ├───books
│ └───db
├───main.py
├───requirements.txt
└───README.md
Feel free to open issues and submit pull requests.