Open Source Next.js SaaS kit
Motivation
Implementing authentication in Next.js, especially Email+Password authentication and Oauth, can be challenging.
No more hassle with user management. No more hassle for payment integrations.No more building a landing page from scratch.
A done for you starter kit
Key Features
-
Stack Authentication: 💼 Support for Credential and OAuth(google,github) authentication.
-
Authorization: 🔒 Easily manage public and protected routes within the
app directory.
-
Email Verification: 📧 Verify user identities through email.
-
Password Reset: 🔑 Streamline password resets by sending email password reset links.
-
Lemonsqueezy Payment: 💳 Setup user subscriptions seamlessly with lemonsqueezy.
-
Turso Database: 🛢️ Utilize a turso database set up.
-
Drizzle ORM: 🛢️ Utilize a Drizzle ORM.
Tech Stack
-
Next.js
-
Clerk Auth
-
Stack Auth
-
Tailwind CSS
-
Shadcn UI
-
React Hook Form
Get Started
1.
npx nextjs-saaskit@latest
2.
cd projectName
3. Copy
.env.loc to
.env.local
4. Copy
.env.example to
.env
5. Update env variables
6. Run
npm install to install dependencies.
7. Execute
npm dev to start the development server and enjoy!
Roadmap
- [ ] Stripe Integration
- [ ] Resend Integration
- [ ] Prisma Integration
Contributing
To contribute, fork the repository and create a feature branch. Test your changes, and if possible, open an issue for discussion before submitting a pull request. Follow project guidelines, and welcome feedback to ensure a smooth integration of your contributions. Your pull requests are warmly welcome.