Note: This project is a fork of next13-ai-saas by Antonio Erdeljac.
This is a repository for Build a Micro SaaS AI Platform with Next.js 14, Shadcn, Prisma, Stripe and GeneratedBy for the AI part.
Features:
- AI prompts folders to generate main project pages (Terms, FAQ, Privacy Policy, About, Documentation, etc.)
- Folder structure in Next 14 App Router
- Next Intl for Internationalization (compatible with App Router Server 1 Client components)
- Shadcn UI on top of Radix UI
- Tailwind & Framer Motion animations and effects
- Clerk Authentication (Email, Google, 9+ Social Logins)
- Client form validation and handling using react-hook-form
- Server error handling using react-toast
- GeneratedBy Prompt based Application API
- Stripe monthly subscription
- Free tier with API limiting
- Full responsiveness
Note: Took some piece of code from open source projects :
- llm.report by Dillion Verma.
- callsquare by Jaleel Bennett.
The prompts directory contains a collection of AI prompts that can be used to generate useful content and information for a Software as a Service (SaaS) business. Here is a brief overview of the prompts:
README.md
: Contains details about the prompts directory.terms.md
: Generates terms of service for a startup.onboarding-guide.md
: Creates a user onboarding guide for a SaaS startup.faq.md
: Generates a detailed FAQ page for a SaaS startup.unit-test-case.md
: Creates a suite of automated test cases for a startup.api-documentation.md
: Generates comprehensive API documentation for a startup.database-schema.md
: Creates a database schema for a startup.error-message-library.md
: Generates a library of user-friendly error messages for a startup.privacy.md
: Generates a comprehensive privacy policy for a SaaS startup.
These prompts are designed to help individuals and teams quickly start a SaaS business. They provide a starting point and can be customized to suit your specific needs.
Node version 20.x.x
git clone https://github.com/0xGeegZ/ai-micro-saas-starter
pnpm i
cp env.example .env
Add MySQL Database (I used PlanetScale)
npx prisma db push
pnpm run dev
Running commands with npm npm run [command]
command | description |
---|---|
dev |
Starts a development instance of the app |
build |
Builds the application for production |
start |
Starts the production application |
lint |
Lints the application code |
postinstall |
Generates Prisma client after install |
This project has been fully set up for internationalization, using Next Intl. However, the pages and components have not been translated yet. This means that while the infrastructure for supporting multiple languages is in place, the actual content in different languages is not available.
If you would like to contribute to this project, we have created an issue for translating the pages and components. Any help in this regard would be greatly appreciated. You can find the issue on our GitHub repository and contribute by providing translations for the various strings used throughout the application.
Please note that while contributing, you should follow the guidelines provided in the issue to ensure consistency and quality in translations. Thank you in advance for your contributions!