Package Exports
- create-yuv-app
- create-yuv-app/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-yuv-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Create YUV App
The fastest way to create production-ready Next.js applications with authentication, modern UI, and TypeScript.
โก Quick Start
npx create-yuv-app my-app
cd my-app
npm run devThat's it! Your app will be running at http://localhost:3000 ๐
๐ฏ What You Get
- โก Next.js 15 - Latest App Router with Turbopack
- ๐ Clerk Authentication - Complete auth solution with sign-in/sign-up
- ๐จ Shadcn/ui - Beautiful, accessible UI components
- ๐ฑ Responsive Design - Mobile-first with Tailwind CSS
- ๐ฏ TypeScript - Full type safety out of the box
- ๐ญ Lucide Icons - Beautiful icon library
- ๐ก๏ธ Middleware Protection - Route-based authentication
- โจ Modern Tooling - ESLint, PostCSS, and more
๐ Requirements
- Node.js 18+
- npm / yarn / pnpm
๐ ๏ธ Usage
Interactive Mode
npx create-yuv-app my-awesome-appThe CLI will guide you through:
- โ Project setup
- โ Dependency installation
- โ Environment file creation
- โ Git repository initialization
What Happens Next?
- ๐ฆ Clones the latest boilerplate
- ๐งน Cleans repository history for a fresh start
- ๐ Creates
.env.localwith Clerk template - ๐ฅ Installs all dependencies
- ๐ Initializes new git repository
- โ Ready to start coding!
๐ Setting Up Clerk Auth
- Visit Clerk.com and create an account
- Create a new application
- Copy your keys to
.env.local:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...- Start coding! ๐
๐๏ธ Project Structure
my-app/
โโโ src/
โ โโโ app/ # Next.js App Router
โ โ โโโ dashboard/ # Protected dashboard
โ โ โโโ sign-in/ # Auth pages
โ โ โโโ sign-up/
โ โ โโโ globals.css
โ โ โโโ layout.tsx
โ โ โโโ page.tsx # Landing page
โ โโโ components/ # React components
โ โ โโโ ui/ # Shadcn/ui components
โ โ โโโ *.tsx # Custom components
โ โโโ lib/
โ โ โโโ utils.ts
โ โโโ middleware.ts # Auth protection
โโโ public/ # Static assets
โโโ .env.local # Environment variables
โโโ package.json๐จ Available Components
Pre-installed Shadcn/ui components:
- Avatar, Badge, Button, Card
- Dialog, Dropdown Menu, Input, Label
- Navigation Menu, Separator
Add more with: npx shadcn@latest add [component-name]
๐ Commands
After creating your app:
# Development
npm run dev # Start dev server with Turbopack
# Production
npm run build # Build for production
npm start # Start production server
# Code Quality
npm run lint # Run ESLint๐ Deployment
Vercel (Recommended)
git pushto GitHub- Connect to Vercel
- Add Clerk environment variables
- Deploy! ๐
Other Platforms
npm run build
npm start๐ก Examples
# Create app with custom name
npx create-yuv-app "My Startup MVP"
# Create in current directory
npx create-yuv-app .๐ค Contributing
Found a bug or want to contribute?
- Fork the repo
- Create your feature branch
- Submit a pull request
๐ License
MIT License - feel free to use for personal and commercial projects.
๐ Credits
Created with โค๏ธ by Yuval Avidani, Founder of YUV.AI
Connect:
- ๐ฆ Twitter: @yuvalav
- ๐ธ Instagram: @yuval_770
- ๐ Links: linktr.ee/yuvai
- ๐ Website: yuv.ai
โญ Star the repo if this helped you build something awesome!
๐ Support
Need help?
- ๐ Documentation
- ๐ Report Issues
- ๐ฌ Discussions
Happy coding! ๐