Skip to content

50+ open-source generative AI apps you can clone, deploy, and monetize — image generators, video tools, virtual try-ons, AI SaaS templates, and platform integrations. One-click Vercel deploy on every template.

707 B
Raw Blame

FastAPI Backend

This is the backend server built with FastAPI.

Setup

  1. Create a virtual environment:
python -m venv venv
  1. Activate the virtual environment:
# Windows
venv\Scripts\activate

# macOS/Linux
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

Running the Server

Start the development server:

uvicorn main:app --reload --host 0.0.0.0 --port 8000

The API will be available at:

API Endpoints

  • GET / - Welcome message
  • GET /api/health - Health check endpoint