A CLI tool to create a modern website using Next.js, Payload CMS, Tailwind UI Blocks & Storybook.
- 🚀 Next.js with TypeScript and Tailwind CSS
- 📝 Payload CMS for content management
- 🎨 Storybook for component development
- 🎯 Tailwind UI Blocks for rapid development
- 🔄 Automatic deployment setup for Vercel and Render
- 🎨 Customizable branding configuration
- Node.js 14 or higher
- npm 6 or higher
- Git
npx create-my-website my-new-project
- Frontend: Next.js with Tailwind CSS
- Backend: Payload CMS
- Component Library: Storybook with Tailwind UI Blocks
- Deployment: Vercel (Frontend) & Render (Backend)
- Database: PostgreSQL (hosted on Render)
my-new-project/
├── src/
│ ├── app/ # Next.js app directory
│ ├── components/ # React components
│ ├── blocks/ # Tailwind UI blocks
│ └── stories/ # Storybook stories
├── .storybook/ # Storybook configuration
├── config.json # Project configuration
└── .env # Environment variables
The CLI will prompt you for:
- Project name
- Vercel deployment domain
- Render CMS domain
- Brand colors
-
Start the development server:
npm run dev
-
Start Storybook:
npm run storybook
- Push your code to GitHub
- Import your repository on Vercel
- Configure environment variables
- Deploy!
- Create a new Web Service on Render
- Connect your GitHub repository
- Configure environment variables
- Deploy!
Required environment variables:
-
NEXT_PUBLIC_PAYLOAD_URL
: Your Payload CMS URL -
PAYLOAD_SECRET
: Secret key for Payload CMS -
DATABASE_URI
: PostgreSQL connection string
Contributions are welcome! Please feel free to submit a Pull Request.
MIT