Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikext/ai-content-generation-platform
This is my bachelor degree final project. This is SaaS AI platform for generating conversations, images, code, music and video.
https://github.com/nikext/ai-content-generation-platform
clerkauth cypress jest nextjs openai replicate shadcn-ui stripe tailwindcss
Last synced: 1 day ago
JSON representation
This is my bachelor degree final project. This is SaaS AI platform for generating conversations, images, code, music and video.
- Host: GitHub
- URL: https://github.com/nikext/ai-content-generation-platform
- Owner: nikext
- Created: 2023-10-31T16:17:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-13T16:47:12.000Z (10 months ago)
- Last Synced: 2024-02-07T18:53:31.803Z (10 months ago)
- Topics: clerkauth, cypress, jest, nextjs, openai, replicate, shadcn-ui, stripe, tailwindcss
- Language: TypeScript
- Homepage:
- Size: 618 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a repository for my Bachelor Degree final project | AI Platform with Next.js 14, React, Tailwind, Prisma, Stripe.
Features:
- Tailwind modern & simple design
- Full mobile/tablet/desktop responsiveness
- Clerk Auth (Facebook, Email, Google and other social logins)
- Client form validation and handling
- Error handling using react-toast
- Conversation Generation Model (Open AI)
- Image Generation Model (Open AI)
- Code Generation Model (Open AI)
- Video Generation Model (Replicate AI)
- Music Generation Model (Replicate AI)
- Stripe monthly subscription to PRO version
- Free tier with API limitation to 5 generations
- POST, DELETE, and GET routes in route handlers### Prerequisites
**Node version 18.x.x**
### Cloning the repository
```shell
git clone https://github.com/nikola6669/AI-Content-Generation-Platform.git
```### Install packages
```shell
npm i
```### Setup .env file
```js
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=/dashboardOPENAI_API_KEY=
REPLICATE_API_TOKEN=DATABASE_URL=
STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=NEXT_PUBLIC_APP_URL="http://localhost:3000"
```### Setup Prisma
Create Prisma MySQL Database (PlanetScale)
```shell
npx prisma db push
npx prisma generate```
### Start the app
```shell
npm run dev
```## Available commands
Running commands with npm `npm run [command]`
| command | description |
| :------------- | :--------------------------------------- |
| `dev` | Starts a development instance of the app |
| `cypress open` | Starts Cypress UI testing tool |
| `jest` | Starts Jest Unit tests |