create-supaauth
A CLI tool to bootstrap a modern, type-safe authentication boilerplate built with Next.js and Supabase.
Usage
npx create-supaauth my-app
This will create a new directory my-app with a fully configured Next.js application featuring:
- 🔐 Complete authentication system with email/password
- 🚀 Server-side rendering with Next.js
- 🎨 Modern UI with Tailwind CSS
- 📱 Fully responsive design
- 🔒 Protected dashboard routes
- 🌐 Password reset with email verification
- 💪 Type-safe code with TypeScript
- ⚡ Powered by Supabase
Requirements
- Node.js 16 or higher
- PNPM package manager (recommended) or NPM
After Installation
-
Navigate to your project:
cd my-app
-
Install dependencies:
pnpm install
-
Set up environment variables:
cp .env.example .env.local
Then edit .env.local with your Supabase credentials.
-
Start the development server:
pnpm dev
Visit http://localhost:3000 to see your app in action!
Development
If you want to contribute to this project or develop it locally, follow these steps:
-
Clone the repository:
git clone https://github.com/gitmaxd/create-supaauth.git
cd create-supaauth
-
Install dependencies:
npm install
-
Test the CLI locally:
npm run test
This will create a test-app directory with the template.
-
Clean up the test directory:
npm run clean
Publishing
To publish a new version:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT