This project is my first step into building backend APIs for AI-based systems using FastAPI. It demonstrates how to create a simple API, manage dependencies, and run a production-style server.
- Python
- FastAPI
- Uvicorn
ai_project_1/
├── main.py
├── requirements.txt
├── README.md
└── .gitignore
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install -r requirements.txt
uvicorn main:app --reload
GET /
Response:
{
"message": "Hello Ansh"
}
- Hands-on experience with FastAPI
- Understanding API development workflow
- Managing Python virtual environments
- Working with dependency management
- Add database integration (MongoDB)
- Implement authentication (JWT)
- Build real-world AI endpoints