Skip to main content

FastAPI + React project setup CLI

Project description

FastAPI React Web CLI

A modern CLI tool to scaffold a full-stack FastAPI + React project in seconds.

Features at a Glance

  • Interactive CLI with prompts
  • Project templates:
    • React (Vite)
    • Next.js
    • Eleventy (11ty)
    • Vanilla JavaScript & TypeScript
  • Tailwind CSS integration (optional)
  • TypeScript support
  • Pick your favorite package manager (npm, yarn, pnpm)
  • ESLint pre-configured
  • Auto installs everything you need

Features

  • Instantly create a FastAPI backend with CORS and a sample API endpoint
  • Scaffold a React frontend (with Vite, TypeScript, and Tailwind support)
  • Automatic backend/frontend connection (proxy setup)
  • Python virtual environment setup with uv
  • One command to get started: fastapi-react-cli

Installation

pip install fastapi-weblauncher

Usage

fastapi-react-cli

Follow the interactive prompts to set up your project. The CLI will:

  • Ask for your project name
  • Scaffold backend and frontend
  • Set up a Python virtual environment and install backend dependencies
  • Set up the React frontend with Vite (and optionally Tailwind CSS)

Running Your App

Start the backend

cd <your_project>/backend
source ../venv/bin/activate
uvicorn main:app --reload

Start the frontend

cd <your_project>/<frontend_dir>
npm install
npm run dev

Visit http://localhost:5173 to see your app in action!

Uninstall

pip uninstall fastapi-weblauncher

License

MIT


Made with ❤️ by Rudraksh121a

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_weblauncher-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_weblauncher-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_weblauncher-0.1.2.tar.gz.

File metadata

  • Download URL: fastapi_weblauncher-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for fastapi_weblauncher-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1df0fbc54b681717e88aab025980cf02be536b9e35fd8bb9004d8c7657dc5040
MD5 9cce1cc56a556e0fc09cc6912e914f52
BLAKE2b-256 720c85717e94aa042c515fe53a1fb9b9e93e9e00ad6f81a94bd05fbc59008685

See more details on using hashes here.

File details

Details for the file fastapi_weblauncher-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_weblauncher-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af59f737d3e2e9f1a7a695dd41b4923443f520b2f09681a8420d103b6756920a
MD5 b3d3f2d9d2ece60f305df2598ee555b3
BLAKE2b-256 e29133dbde5dc5f05c67de5bad6191e2c224dbc033376f31615895bf1e2ee473

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page