Skip to content

NyoikePaul/ai-saas-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-SaaS Platform: The Multi-Modal Intelligence Hub

Vercel Deployment Stack: PERN/Next.js

A high-performance, production-grade AI SaaS platform designed for modern creative workflows. This application serves as a comprehensive dashboard integrating multiple AI models into a single, unified interface with subscription-based access and secure authentication.

🛠 Core Tech Stack & Infrastructure

  • Framework: Next.js 14+ (App Router, Server Actions)
  • Styling: Tailwind CSS & Shadcn/UI (Industrial Technical Aesthetic)
  • Auth: Clerk (Secure User Management & Social Auth)
  • Database: PostgreSQL via Prisma ORM
  • Payments: Stripe (Subscription Management & Webhooks)
  • AI Engines: OpenAI API (GPT-4), Replicate API (Llama, Stable Diffusion)

✨ Key Features

  • Multi-Modal Generation: - 💬 Conversation: Advanced chat interface with streaming responses.
    • 🎨 Image Generation: Text-to-image synthesis using high-fidelity models.
    • 🎵 Music & Video: Programmatic media generation from text prompts.
    • 💻 Code Assistant: Context-aware programming support with markdown formatting.
  • Subscription Lifecycle: Integrated Stripe billing portal with tiered access (Free vs. Pro).
  • API Limitation: Smart server-side logic to track user usage and enforce trial limits.
  • Responsive Dashboard: A mobile-first, sidebar-driven UI built for professional productivity.

🏗 System Architecture

The platform is architected for "System Integrity," utilizing monospaced metadata and a clean, technical UI to ensure users feel the precision of the underlying AI.

🚀 Getting Started

Prerequisites

  • Node.js 18.x or later
  • A PostgreSQL instance (e.g., Aiven, Supabase, or local)
  • API Keys for Clerk, Stripe, OpenAI, and Replicate

Installation

  1. Clone the repository:
  2. Install dependencies:

Bash npm install

Configure Environment Variables: Create a .env file in the root and add your keys (see .env.example).

Initialize Database: Bash npx prisma db push

Run the development server:

Bash npm run dev

License This project is licensed under the MIT License - see the LICENSE file for details.

Developed with focus on Scalability and Performance by Paul Nyoike.

git clone https://github.com/nyoikepaul/ai-saas-app.git cd ai-saas-app

About

Next-Generation AI SaaS Platform | Full-Stack Multi-Modal Dashboard (Image, Video, Music & Code Generation) | Built with Next.js 14, Stripe, Clerk & Prisma. Production-ready architecture for scalable AI solutions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors