A modern FastAPI REST API, ready to deploy on Light Cloud.
- FastAPI web framework
- Automatic OpenAPI documentation
- REST API with health check endpoint
- Docker-ready for Cloud Run
| Method | Endpoint | Description |
|---|---|---|
| GET | / |
Welcome message and API info |
| GET | /health |
Health check with uptime |
| GET | /docs |
Interactive API documentation |
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start development server
uvicorn main:app --reload --port 8080The API will be available at http://localhost:8080
Visit console.light-cloud.com and sign up with GitHub or Google.
- Click "New Application" in the dashboard
- Select "Container" as the deployment type
- Choose "Python" as the runtime
- Option A: Fork this repository and connect it via GitHub
- Option B: Push this code to your own GitHub repository and connect it
Light Cloud will auto-detect your settings:
| Setting | Value |
|---|---|
| Port | 8080 |
| Dockerfile | Auto-detected |
Click "Deploy" and your API will be live in minutes!
Your API will be available at https://your-app.light-cloud.io
Website • Documentation • Console
Made with ☁️ by Light Cloud
