0.0.5 ⢠Published 5 months ago
fs-init v0.0.5
FastStack CLI (fs-init)
A modern CLI tool for scaffolding full-stack web applications using FastAPI, React, and Vite.
Features
- š Quick setup of FastAPI backend
- āļø React frontend with Vite
- šØ Built-in theme support with ShadCN UI
- š Optional Socket.IO integration
- šļø Database setup (Postgres/SQLite)
- šÆ Tailwind CSS pre-configured
Prerequisites
- Node.js (v18 or v20+)
- Python (v3.13+)
- npm
Installation & Usage
Simply run:
npm install fs-init
The installation will automatically start the project initialization process. Follow the interactive prompts to configure your project:
- Enter your project name
- Choose your database (Postgres/SQLite)
- Select a theme
- Choose whether to include Socket.IO
Project Structure
The generated project will have the following structure:
your-project/
āāā frontend/ # React + Vite frontend
ā āāā src/
ā āāā package.json
āāā backend/ # FastAPI backend
āāā app/
ā āāā api/
ā āāā models/
ā āāā schemas/
āāā tests/
License
MIT