Skip to content
/ vox-ai Public

A SaaS AI platform offering conversation, code, music, image, and video generation, with subscription features.

Notifications You must be signed in to change notification settings

Firkhie/vox-ai

Repository files navigation

Logo

VoxAI: An AI SaaS Platform

nextdotjs typescript tailwindcss postgresql supabase
  1. 🤖 Introduction
  2. ⚙️ Tech Stack
  3. 🔋 Features
  4. 🤸 Quick Start

Experience VoxAI: Your Ultimate AI Companion – Transform your digital world with advanced AI features. Enjoy smart chat support, efficient code generation, creative music composition, stunning video production, and professional image design. Boost your productivity and creativity with VoxAI.

Project Banner

  • Next.js
  • TypeScript
  • PostgreSQL
  • Clerk
  • Supabase
  • Midtrans
  • Shadcn
  • TailwindCSS

👉 Advanced Tools and Functionalities:

  • Tailwind design with animations and effects for full responsiveness.
  • Client form validation and handling using react-hook-form.
  • Server error handling using react-toast.
  • AI Tools for Image (Open AI), Video (Replicate AI), Conversation (Claude AI), Code Generation (Claude AI), and Music Generation (Replicate AI).
  • Page loading state management.
  • Midtrans payment integration.
  • Free tier with API limiting.

👉 Development Best Practices:

  • POST, DELETE, and GET route handling in app/api.
  • Data fetching in server react components by directly accessing the database.
  • Managing relations between Server and Child components.
  • Reusing layouts effectively.
  • Responsive UI/UX for a seamless experience across devices

and many more, including code architecture and reusability

Follow these steps to set up the project locally on your machine.

Prerequisites

Make sure you have the following installed on your machine:

Cloning the Repository

git clone https://github.com/Firkhie/vox-ai.git
cd vox-ai

Package Installation

Install the project dependencies using npm:

npm i

Set Up Environment Variables

Create a new file named .env in the root of your project and add the following content:

#CLERK
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL=/dashboard
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL=/dashboard

#AI
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
REPLICATE_API_TOKEN=

#SUPABASE & PRISMA
SUPABASE_DB_PASS=
DATABASE_URL=
DIRECT_URL=

#MIDTRANS
MIDTRANS_SERVER_KEY=
MIDTRANS_CLIENT_KEY=

Replace the placeholder values with your actual respective account credentials.

Setup Prisma

Add PostgreSQL Database (I used Supabase)

npx prisma db push

Running the Project

npm run dev

Open http://localhost:3000 in your browser to view the project.

About

A SaaS AI platform offering conversation, code, music, image, and video generation, with subscription features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published