/saas-ai-companion

SaaS AI Companion built with Next.js 13, React, Stripe, Prisma, MySQL, Tailwind

Primary LanguageTypeScript

AI Companion With Next.js 13, React, Stripe, Prisma, MySQL, Tailwind

Advanced SaaS AI Companion using Next.js 13, React, Stripe, Prisma, MySQL, and Tailwind. This project leverages the power of embeddings and the Pinecone vector database for long-term memory retention.
It's enhanced with fast caching using the Upstash Redis database, and it uses MySQL and Prisma for storing companions.

It follows the tutorial made by Code With Antonio. The YouTube video can be found here. The platform comes with a range of features to help you get started with your own AI-powered applications.

Features

  • Tailwind Design: A sleek and modern design powered by Tailwind CSS.
  • Full Responsiveness: Ensures a seamless user experience on various devices.
  • Clerk Authentication: User authentication using Clerk with support for email, Google, and 9+ social logins.
  • Client Form Validation: Utilizes react-hook-form for efficient client-side form validation.
  • Server Error Handling: Uses react-toast to manage and display server errors.
  • AI-Powered Tools: Includes tools for image, video, conversation, and music generation using Open AI and Replicate AI.
  • Page Loading State: Provides visual feedback to users during page loading.
  • Stripe Monthly Subscription: Integrates Stripe for subscription management.
  • Free Tier with API Limiting: Offers a free tier with API usage limits.
  • API Routes: Demonstrates how to create POST, DELETE, and GET routes in route handlers.
  • Database Access: Shows how to fetch data in server-side React components by directly accessing the database without using an API.
  • Component Relations: How to handle relations between server and child components.
  • Layout Reuse: Learn how to reuse layouts effectively.
  • Next.js 13 App Router: Understand the folder structure in Next.js 13 App Router.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Acknowledgments

Big thanks to Code With Antonio for the great tutorial.