Skip to content

AI Saas with 5 different tools developed with NextJs13 , React , Tailwind , Prisma & Stripe

Notifications You must be signed in to change notification settings

aressss1/genius-ai

Repository files navigation

SaaS AI Platform with NextJs13 , React , Tailwind , Prisma & Stripe

Features

  • Tailwind design
  • Tailwind animations and effects
  • Full responsiveness
  • Clerk Authentication (Email, Google, 9+ Social Logins)
  • Server error handling using react-toast
  • Image Generation Tool (Open AI)
  • Video Generation Tool (Replicate AI)
  • Conversation Generation Tool (Open AI)
  • Music Generation Tool (Replicate AI)
  • Page loading state
  • Stripe monthly subscription
  • Free tier with API limiting
  • Premium Tier

Prerequisites

Node version 18.x.x

Cloning the repository

git clone https://github.com/aressss1/saas-ai-platform.git

Install packages

npm i

Setup .env file

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard

OPENAI_API_KEY=
REPLICATE_API_TOKEN=

DATABASE_URL=

STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=

NEXT_PUBLIC_APP_URL="http://localhost:3000"

Setup Prisma

Add MySQL Database (I used PlanetScale)

npx prisma db push

Start the app

npm run dev

Available commands

Running commands with npm npm run [command]

command description
dev Starts a development instance of the app

Preview

prismify-render-1716801042283 prismify-render-1716801027461 prismify-render-1716801016291 prismify-render-1716801136648 prismify-render-1716801121151 prismify-render-1716801086647 prismify-render-1716801069138

About

AI Saas with 5 different tools developed with NextJs13 , React , Tailwind , Prisma & Stripe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published