Skip to content

codse/chat

Repository files navigation

Getting Started

Prerequisites

  • Node.js 18+
  • pnpm 8+

Installation

  1. Clone the repository
  2. Install dependencies:
pnpm install
  1. Set up environment variables: Create a .env.local & .env file in the root directory with:
# .env.local
CONVEX_DEPLOYMENT=your-deployment-id
CONVEX_URL=your-convex-url
npx convex env set SITE_URL <your-app-url>
npx convex env set AUTH_GOOGLE_SECRET <your-google-secret>
npx convex env set AUTH_GOOGLE_ID <your-google-client-id>
npx convex env set OPENROUTER_API_KEY <your-openrouter-api-key>
  1. Start the development server:
pnpm dev

The application will be available at http://localhost:3000

Project Structure

  • src/ - Source code
    • components/ - React components
    • routes/ - TanStack Router routes
    • lib/ - Utility functions
  • convex/ - Convex backend functions and schema

Tech Stack

About

What will it take to be the best AI chat app ever?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published