Loading repository data…
Loading repository data…
hezky / repository
Minimalist full-stack template featuring React SPA (Vite) frontend and FastAPI backend. Includes CRUD API endpoints, BEM CSS methodology, hot reload development setup, and CORS configuration. Perfect starter kit for rapid prototyping with modern Python and JavaScript technologies in a clean, organized structure.
Minimalist template for quick project startup with React SPA (Vite) and FastAPI backend.
lab_seed/
├── backend/
│ ├── main.py # FastAPI application
│ └── requirements.txt # Python dependencies
└── frontend/
├── src/
│ ├── components/ # React components
│ ├── styles/ # BEM CSS styles
│ ├── App.jsx # Main component
│ └── main.jsx # Entry point
├── index.html
├── package.json
└── vite.config.js
cd backend
python -m venv venv
source venv/bin/activate # Linux/Mac
# or
venv\Scripts\activate # Windows
pip install -r requirements.txt
uvicorn main:app --reload
Backend will run on: http://localhost:8000
cd frontend
npm install
npm run dev
Frontend will run on: http://localhost:5173
uvicorn main:app --reload - Start server with hot reloadnpm run dev - Start development servernpm run build - Create production buildnpm run preview - Preview production buildGET / - Health checkGET /api/health - API health statusGET /api/items - List all itemsPOST /api/items - Create new itemGET /api/items/{id} - Get item detailDELETE /api/items/{id} - Delete itemProject uses BEM methodology for CSS:
.block {}
.block__element {}
.block--modifier {}
CSS variables are defined in frontend/src/styles/index.css.