UNPKG

create-super-react

Version:

Full‑stack React starter: Vite + TS + Tailwind, Bun/Hono + SQLite, cookie auth, CSRF, and Google OAuth—scaffolded in one command.

39 lines (32 loc) 1.11 kB
# CLAUDE.md This project was generated by **create-super-react** (minimal). It includes a modern full-stack setup with a React frontend and Bun/Hono backend. ## Structure ``` {{PROJECT_NAME}}/ frontend/ → Vite + React + TypeScript + Tailwind v4 + React Router backend/ → Bun + Hono + SQLite (bun:sqlite) ``` ## Frontend - React app with TypeScript and React Router - Routes: `/` (home), `/about` (about page) - Tailwind v4 via `@tailwindcss/vite` + `@import "tailwindcss"` in `src/index.css` - Responsive navigation bar with project name - Demo todo list that connects to the backend API ## Backend - SQLite database at `backend/data.sqlite` - Example TODO API: - GET `/api/todos` → list todos - POST `/api/todos` → create todo (expects `{ title: string }`) - CORS enabled for all origins ## Dev commands ```bash # API cd backend && bun run dev # http://localhost:3000 # Web cd ../frontend && npm run dev # http://localhost:5173 ``` ## Next steps - add routing with React Router - add authentication if needed - adapt the API to your needs - deploy with your preferred platform