JSPM

create-yuv-app

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q9571F
  • License MIT

CLI tool to create Next.js apps with Clerk authentication, Shadcn/ui, and TypeScript

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.

npm version Downloads License: MIT

โšก Quick Start

npx create-yuv-app my-app
cd my-app
npm run dev

That'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-app

The CLI will guide you through:

  • โœ… Project setup
  • โœ… Dependency installation
  • โœ… Environment file creation
  • โœ… Git repository initialization

What Happens Next?

  1. ๐Ÿ“ฆ Clones the latest boilerplate
  2. ๐Ÿงน Cleans repository history for a fresh start
  3. ๐Ÿ“ Creates .env.local with Clerk template
  4. ๐Ÿ“ฅ Installs all dependencies
  5. ๐Ÿ”— Initializes new git repository
  6. โœ… Ready to start coding!

๐Ÿ”‘ Setting Up Clerk Auth

  1. Visit Clerk.com and create an account
  2. Create a new application
  3. Copy your keys to .env.local:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...
  1. 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

  1. git push to GitHub
  2. Connect to Vercel
  3. Add Clerk environment variables
  4. 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?

  1. Fork the repo
  2. Create your feature branch
  3. 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:


โญ Star the repo if this helped you build something awesome!

๐Ÿ†˜ Support

Need help?

Happy coding! ๐Ÿš€