A clean, minimal starter template providing the perfect foundation for your next project. Built with modern tools and ready for your creativity.
- 🚀 Modern Stack: React 19, TypeScript, Vite, Tailwind CSS
- 🎨 Beautiful UI: shadcn/ui components with customizable design tokens
- 📱 Responsive: Mobile-first design with dark/light theme support
- ⚡ Performance: Cloudflare Workers backend with sub-second response times
- 🗄️ Database: Drizzle ORM with D1 database
- 🧪 Type Safety: Comprehensive TypeScript setup
- 🔧 Developer Experience: Hot reload, ESLint, and modern tooling
├── src/ # Frontend React application
│ ├── components/ # Reusable UI components
│ │ └── ui/ # shadcn/ui base components
│ ├── pages/ # Page components
│ ├── lib/ # Utilities and helpers
│ └── styles/ # Global styles and themes
├── worker/ # Cloudflare Workers backend
│ ├── routes/ # API routes
│ └── db/ # Database schema and migrations
├── public/ # Static assets (Vite standard)
│ ├── favicon.svg # Site favicon
│ └── *.{png,jpg,svg} # Images, logos, etc.
└── instructions/ # Documentation for adding features
- Bun (recommended) or Node.js
- Cloudflare account for deployment
- Clone the repository:
git clone <repository-url>
cd minimal-starter-template- Install dependencies:
bun install- Set up environment variables:
cp .env.example .env.local- Start the development server:
bun run dev- Visit
http://localhost:5173to see your application.
bun run dev- Start development serverbun run build- Build for productionbun run preview- Preview production buildbun run pre-deploy- Generate database migrationsbun run db:generate- Generate database types
The template uses semantic design tokens defined in src/styles/global.css. Customize colors, spacing, and typography by modifying the CSS custom properties.
- Create a new component in
src/pages/ - Add the route in
src/app.tsx - Update navigation as needed
- Reusable components go in
src/components/ - Use shadcn/ui as a base for new components
- Follow the existing patterns for props and styling
- Install Wrangler CLI:
bunx wrangler login- Configure your environment variables in Wrangler
- Deploy:
bun run pre-deploy
bunx wrangler deployKey environment variables to configure:
# Database
D1_DATABASE_NAME=your-database-name
# Authentication (if enabled)
BETTER_AUTH_SECRET=your-auth-secret
VITE_BETTER_AUTH_URL=https://your-domain.com
# Additional services as needed- TypeScript for type safety
- ESLint for code quality
- Semantic HTML and accessibility
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details.
Minimal Starter - Your creative canvas awaits. 🎨