A modern, feature-rich starter template for building production-ready applications with Next.js, Tailwind CSS, and TypeScript.
This project is licensed under the MIT License.
To set up your Convex database, visit: https://convex.dev
git clone https://github.com/siddharth-narayan-mishra/starter
bun install
touch .env.example .env.local
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
# Convex
NEXT_PUBLIC_CONVEX_URL=
CONVEX_DEPLOYMENT=
CONVEX_ADMIN_KEY=
# Frontend
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# Optional: OpenAI Integration
OPENAI_API_KEY=
bun run dev
Open http://localhost:3000 to see your application.
├── app/
│ ├── (auth)/ # Authentication routes
│ ├── (marketing)/ # Marketing pages
│ ├── api/ # API routes
│ ├── dashboard/ # Dashboard pages
│ └── playground/ # AI Playground
├── components/
│ ├── homepage/ # Landing page components
│ ├── shared/ # Shared UI components
│ └── wrapper/ # Layout wrappers and navigation
├── config/ # Configuration files
├── convex/ # Convex DB schema and functions
├── lib/ # Utility functions
├── public/
│ ├── images/ # Image assets
│ └── svg/ # SVG assets
└── styles/ # Global styles
bun run dev
— Start the development server bun run build
— Build the application for production bun run start
— Start the production server bun run lint
— Run ESLint bun run format
— Format the code using Prettier