• Stars
    star
    1,059
  • Rank 43,570 (Top 0.9 %)
  • Language
    TypeScript
  • Created over 1 year ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Build a SaaS AI Platform with Next.js 13, React, Tailwind, Prisma, Stripe | Full Tutorial 2023

Copy of Copy of Copy of Fullstack Twitter Clone

This is a repository for Build a SaaS AI Platform with Next.js 13, React, Tailwind, Prisma, Stripe | Full Tutorial 2023.

VIDEO TUTORIAL

Features:

  • Tailwind design
  • Tailwind animations and effects
  • Full responsiveness
  • Clerk Authentication (Email, Google, 9+ Social Logins)
  • Client form validation and handling using react-hook-form
  • 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
  • How to write POST, DELETE, and GET routes in route handlers (app/api)
  • How to fetch data in server react components by directly accessing database (WITHOUT API! like Magic!)
  • How to handle relations between Server and Child components!
  • How to reuse layouts
  • Folder structure in Next 13 App Router

Prerequisites

Node version 18.x.x

Cloning the repository

git clone https://github.com/AntonioErdeljac/next13-ai-saas.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

More Repositories

1

next13-airbnb-clone

TypeScript
1,767
star
2

next13-discord-clone

TypeScript
973
star
3

next13-ecommerce-admin

TypeScript
856
star
4

next13-messenger

TypeScript
830
star
5

next-auth-v5-advanced-guide

TypeScript
812
star
6

notion-clone-tutorial

TypeScript
795
star
7

next13-lms-platform

TypeScript
676
star
8

next13-spotify

TypeScript
636
star
9

next-netflix-tutorial

TypeScript
586
star
10

next13-ecommerce-store

TypeScript
523
star
11

next13-trello

TypeScript
513
star
12

next13-ai-companion

TypeScript
392
star
13

twitter-clone

TypeScript
372
star
14

next14-twitch-clone

TypeScript
244
star
15

ts-node-mongo-rest-api-tutorial

Repository for a REST API using MongoDB, Node.js and TypeScript
TypeScript
223
star
16

next14-miro-clone

TypeScript
205
star
17

python-tensorflow-google

Notes taken from Google Machine Learning Course provided to public for practice & correction.
Python
196
star
18

passport-tutorial

This is a repository for my Medium.com article
JavaScript
174
star
19

js-blog-tutorial

This is a tutorial for a Medium story
JavaScript
100
star
20

js-chat-tutorial

A repository for chat app tutorial using React.js, Socket.io and Node.js
JavaScript
52
star
21

file-upload-tutorial

A repository for Medium.com tutorial
JavaScript
50
star
22

AntonioErdeljac

48
star
23

messenger-video

TypeScript
40
star
24

lingo-early-access

TypeScript
34
star
25

prisma-db-starter

TypeScript
30
star
26

next-auth-monogdb

TypeScript
27
star
27

carrotDB

A JSON based database for Node.js πŸ₯•
JavaScript
18
star
28

actions-demo

TypeScript
13
star
29

tailwind-labs-tutorial

JavaScript
12
star
30

fl0-clerk-next

TypeScript
11
star
31

problem-1

TypeScript
11
star
32

nextjs-blog

JavaScript
11
star
33

tailwind-css-recipes

JavaScript
10
star
34

angular-exercise

Repository for exercise with Angular 9
TypeScript
8
star
35

workshop-lucia-auth

TypeScript
8
star
36

backend-recreation

TypeScript
7
star
37

NearChat

Chatting app based on your location using React.js & Node.js
JavaScript
7
star
38

problem-2

TypeScript
6
star
39

ts-autocomplete

TypeScript
6
star
40

products-gtm-ts

TypeScript
5
star
41

youtube-clone

Youtube clone
JavaScript
4
star
42

next13-lms

TypeScript
4
star
43

webrtc-video-chat

JavaScript
4
star
44

js-pokedex

A pokedex app built with Webpack and React.js.
JavaScript
3
star
45

citycoin-web

CSS
3
star
46

webassembly-demo

JavaScript
3
star
47

design-practice

TypeScript
3
star
48

ts-stencil-pokedex

TypeScript
2
star
49

codeburn-io

Gatsby starter for creating a blog
2
star
50

peerjs-react-chat

TypeScript
2
star
51

wer2018

2
star
52

JobScheduler

Repository for a job scheduler assignment
JavaScript
2
star
53

flow-wizard

TypeScript
2
star
54

vue-practice

HTML
1
star
55

Docker-Task

1
star
56

ts-orderbook

JavaScript
1
star
57

expo-stack-navigator

Expo & React Native practice
JavaScript
1
star
58

trainingtogether-backend

JavaScript
1
star
59

typescript-basics

TypeScript
1
star
60

Boxlio

JavaScript
1
star
61

React-Native-Superagent

Repository for React Native project w/ Superagent Ajax calls
JavaScript
1
star
62

workshop-3

TypeScript
1
star
63

javascript-dom

Repo for practicing DOM manipulation with JS
JavaScript
1
star
64

trainingtogether-app

JavaScript
1
star