Fastapi-AI-Production-Template
Simple starter template for your ML/AI projects (uv package manager, RestAPI with FastAPI and Dockerfile support)
File Explorer
Download Latest Version (.zip)- SKILL.md
- dependencies.md
- other-tools.md
- streaming.md
- SKILL.md
- cuml-machine-learning
- fastapi
- pytest.yml
- dependabot.yml
- model-randomforest.pkl
- __init__.py
- agent.py
- chatbot.py
- mcp.py
- predict.py
- __init__.py
- logger.py
- main.py
- middleware.py
- books.csv
- Iris.csv
- graph.png
- thumbnail.png
- deployment.yaml
- hpa.yaml
- ingress.yaml
- service.yaml
- agent-in-langchain.ipynb
- intro-to-langgraph.ipynb
- langgraph-app-1.ipynb
- langgraph-app-2.ipynb
- iris-knn.ipynb
- iris-randomforest.ipynb
- Petal Length VS Width.png
- Sepal Length VS Width.png
- variable with species.png
- .dockerignore
- .env.example
- .gitignore
- .pre-commit-config.yaml
- .python-version
- AGENTS.md
- app.log
- CLAUDE.md
- Dockerfile
- LICENSE
- pyproject.toml
- README.md
- ruff.toml
- skills-lock.json
- uv.lock
# Installation Guide
1. Get the code
git clone https://github.com/wahyudesu/Fastapi-AI-Production-Template
Downloads the entire project code from GitHub to your computer.
cd Fastapi-AI-Production-Template
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t fastapi-app .
Builds a runnable image based on the Dockerfile.
docker run -p 8000:80 fastapi-app
Runs the built image as an actual container.
<img src="https://img.shields.io/badge/Docker-%230db7ed.svg?style=flat&logo=Docker&logoColor=white" alt="Docker">
Type this command into your terminal and run it.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
โโโ notebook/ # Jupyter notebooks for experiments
Type this command into your terminal and run it.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
