1. Specify Your Framework
Tell Bolt which framework to use upfront:
Using Next.js 14 with App Router, build a blog platform with:
- Markdown content support
- SEO-optimized pages
- Dark mode toggle
2. Describe the Full Stack
Include both frontend and backend requirements:
Build a todo app with React and a Node.js backend.
Frontend: List view, add/edit/delete tasks, filter by status
Backend: REST API with /api/todos endpoints, SQLite database
3. Include Styling Preferences
Bolt supports various styling approaches:
Style with Tailwind CSS. Use a modern, minimal design with:
- Soft shadows and rounded corners
- A blue/purple gradient for the header
- Inter font for typography
4. Define Data Models
Explain your data structure:
Data model:
- Users: id, email, name, created_at
- Posts: id, title, content, author_id, published, created_at
- Comments: id, post_id, user_id, content, created_at
Relations:
- Users have many Posts
- Posts have many Comments
5. Specify Package Requirements
Mention specific libraries you want:
Use these packages:
- react-hook-form for form handling
- zod for validation
- tanstack-query for data fetching
- lucide-react for icons