This is a basic FastAPI application showcasing CRUD (Create, Read, Update, Delete) operations using SQLAlchemy as the ORM (Object-Relational Mapper) and PostgreSQL as the database.
- Python 3.7 or above
- PostgreSQL Database
-
Clone the repository:
git clone https://github.com/himanshu-03/Basic-FastAPI-Application.git cd app
-
Install dependencies:
pip install -r requirements.txt
-
Configure the Database:
Create a PostgreSQL database and update the DATABASE_URL in main.py with your database connection details.
-
Run the FastAPI Application:
uvicorn main:app --reload The application will be running at http://127.0.0.1:8000.
This project follows the MIT LICENSE.