Welcome to the 🚀 FastAPI Project Starter! This guide will help you set up and run your FastAPI project quickly and efficiently. It covers essential topics like 🔧 installation, 📦 dependencies, and 🖥️ running the development server.
- 📂 Repository management
- 🔐 Authentication
- 🛡️ Middlewares (session)
⚠️ Exception handling- 🛠️ SQLAlchemy
- 🧪 Pytest
The uv tool simplifies 📋 dependency management and running the development server. Follow the steps below to install it based on your 🖥️ operating system:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Using curl:
curl -LsSf https://astral.sh/uv/install.sh | shUsing wget:
wget -qO- https://astral.sh/uv/install.sh | shℹ️ Note: For more details or troubleshooting, visit the official UV installation documentation.
uv syncpip install -r requirements.txtuv run fastapi devfastapi devuvicorn app.main:appOnce the server is running, your application will be served at:
- 🌐 Base URL: http://127.0.0.1:8000
- 📄 API Documentation: http://127.0.0.1:8000/docs