Skip to content

anshgagai-dotcom/ai_project-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 AI FastAPI Project

📌 Project Overview

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.


⚙️ Tech Stack

  • Python
  • FastAPI
  • Uvicorn

📂 Project Structure

ai_project_1/
 ├── main.py
 ├── requirements.txt
 ├── README.md
 └── .gitignore

▶️ How to Run

1. Create Virtual Environment

python -m venv venv

2. Activate Environment

.\venv\Scripts\Activate.ps1

3. Install Dependencies

pip install -r requirements.txt

4. Run Server

uvicorn main:app --reload

🌐 API Endpoint

Home Endpoint

GET /

Response:

{
  "message": "Hello Ansh"
}

🎯 Key Learnings

  • Hands-on experience with FastAPI
  • Understanding API development workflow
  • Managing Python virtual environments
  • Working with dependency management

🚀 Future Improvements

  • Add database integration (MongoDB)
  • Implement authentication (JWT)
  • Build real-world AI endpoints

About

My first AI FastAPI project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages