Code Monkey home page Code Monkey logo

ai-micro-saas-starter's Introduction

Micro SaaS AI Starter with Next.js 14, React, Tailwind, Prisma, Stripe & GeneratedBy API

Micro SaaS AI Starter

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 :

AI Prompts Directory

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:

  1. README.md: Contains details about the prompts directory.
  2. terms.md: Generates terms of service for a startup.
  3. onboarding-guide.md: Creates a user onboarding guide for a SaaS startup.
  4. faq.md: Generates a detailed FAQ page for a SaaS startup.
  5. unit-test-case.md: Creates a suite of automated test cases for a startup.
  6. api-documentation.md: Generates comprehensive API documentation for a startup.
  7. database-schema.md: Creates a database schema for a startup.
  8. error-message-library.md: Generates a library of user-friendly error messages for a startup.
  9. 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.

Getting Started

Prerequisites

Node version 20.x.x

Cloning the repository

git clone https://github.com/0xGeegZ/ai-micro-saas-starter

Install packages

pnpm i

Setup .env file

cp env.example .env

Setup Prisma

Add MySQL Database (I used PlanetScale)

npx prisma db push

Start the app

pnpm run dev

Available commands

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

Internationalization

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!

ai-micro-saas-starter's People

Contributors

0xgeegz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.