Git Product home page Git Product logo

genius-ai-platform's Introduction

AI Platform with Next.js, Tailwind CSS, TypeScript, Prisma, and Stripe

GitHub last commit GitHub stars GitHub forks

Welcome to the AI Platform, a powerful web application built using Next.js, Tailwind CSS, TypeScript, Prisma, and Stripe. This platform serves as a robust foundation for building and deploying AI-powered applications.

Features

  • Next.js: Utilize the power of server-side rendering and routing to create fast and responsive web applications.

  • Tailwind CSS: Craft beautiful and efficient user interfaces with the highly customizable utility-first CSS framework.

  • TypeScript: Enhance code quality, maintainability, and productivity with TypeScript's static typing.

  • Prisma: Simplify database operations and migrations with Prisma, a modern database toolkit and ORM.

  • Stripe: Seamlessly integrate secure payment processing using Stripe to monetize your AI services.

Getting Started

Follow these steps to get the AI Platform up and running on your local machine:

  1. Clone the Repository:

    git clone https://github.com/Korabi123/Genius-Ai-Platform.git
  2. Install Dependencies:

    cd ai-platform
    npm install
  3. Set Up Environment Variables:

    Create a .env file in the root directory and configure your environment variables. You'll need to set up your database connection, Stripe API keys, and any other necessary variables.

      # This was inserted by `prisma init`:
     # Environment variables declared in this file are automatically made available to Prisma.
     # See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
     
     # Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
     # See the documentation for all the connection string options: https://pris.ly/d/connection-strings
     
     DATABASE_URL=""
     
     
     # Clerk auth
     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
     OPENAI_API_KEY=
     
     # ReplicateAI
     REPLICATE_API_TOKEN=
     
     # Stripe
     STRIPE_API_KEY=
     STRIPE_WEBHOOK_SECRET=
     
     # App url
     NEXT_PUBLIC_APP_URL=http://localhost:3000
  4. Database Migration:

    Run Prisma migrations to create your database schema.

    npx prisma db push
  5. Start the Development Server:

    npm run dev
  6. Open in Your Browser:

    Your AI Platform should now be running at http://localhost:3000. You can access it in your browser to start building and testing your AI-powered applications.

Deployment

When you're ready to deploy your AI Platform to production, you can follow Next.js and your hosting provider's deployment guides. Make sure to set your environment variables for the production environment.

Contributing

We welcome contributions! If you'd like to enhance this AI Platform or fix any issues, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your feature or bug fix:

    git checkout -b feature/new-feature
  3. Make your changes and commit them:

    git commit -m "Add new feature"
  4. Push your changes to your fork:

    git push origin feature/new-feature
  5. Open a pull request to the main branch of this repository. We'll review your changes and merge them if they align with the project's goals.

License

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

Acknowledgments

We want to express our gratitude to the open-source community for their contributions, which have made this project possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.