Thanks to visit codestin.com
Credit goes to github.com

Skip to content

devyk100/kaicode-frontend

Repository files navigation

KaiCode Frontend

KaiCode is a web application that provides a collaborative coding environment with AI assistance. It allows multiple users to code together in real-time, with features such as:

  • Real-time Collaboration: Code together with your team, seeing everyone's changes instantly.
  • AI-Powered Assistance: Get intelligent code suggestions and recommendations.
  • Multi-language Support: Supports multiple programming languages, including Python and JavaScript.
  • Custom Code Judge: Test your code against custom test cases and get instant feedback.
  • Real-time Broadcasting: Every code submission is instantly broadcasted to all session participants.
  • Mobile Coding: Code on the go with a mobile-optimized interface.

Technologies Used

  • Next.js: A React framework for building web applications.
  • Yjs: A CRDT system for real-time collaboration.
  • Monaco Editor: A code editor component.
  • ShadCN UI: A set of accessible UI components.
  • Tailwind CSS: A utility-first CSS framework.
  • Zustand: A state management library.
  • Drizzle ORM: A TypeScript ORM.
  • PostgreSQL: A relational database.
  • Redis: An in-memory data store.
  • NextAuth.js: Authentication library.

Getting Started

  1. Clone the repository:

    git clone [repository URL]
  2. Install dependencies:

    pnpm install
  3. Configure environment variables:

    Create a .env file and set the following environment variables:

    DATABASE_URL=
    REDIS_URL=
    REDIS_PASSWORD=
    GOOGLE_CLIENT_ID=
    GOOGLE_CLIENT_SECRET=
    NEXTAUTH_SECRET=
    NEXTAUTH_URL=
    
  4. Run the development server:

    npm run dev

Open http://localhost:3000 with your browser to see the result.

Learn More

Contributing

Contributions are welcome! Please submit a pull request with your changes.

About

The frontend of the fullstack programming and collaboration playground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published