Skip to content

Project exploring T3 (NextJS, tRPC, TypeScript, Tailwind, Drizzle, NextAuth) with Open AI integrations to recreate a Chat GPT-like experience

Notifications You must be signed in to change notification settings

jlambynz/NextChat

Repository files navigation

🚧 Under construction 🚧

NextChat

Personal project exploring T3 stack (NextJS, tRPC, TypeScript, Tailwind, Drizzle, NextAuth) with Open AI integration to recreate a Chat GPT-like experience

asking question demonstration

Prerequesites

Running locally

  1. Create .env based on .env.example
  2. Create database name as configured in .env in step 1
  3. Instantiate database tables by running npm run db:push
  4. Start development server with npm run dev and access via http://localhost:3000 by default

NPM Commands

  • build: Generates an optimized version of the application for production
  • db:generate: Create migration script for most recent changes to the database (schema updates)
  • db:migrate: Run migration scripts (running migrations)
  • db:push: Directly push schema changes to the DB skipping migrations (Prototype / Push)
  • db:studio: Runs a web interface for viewing and managing the database (Studio)
  • dev: Start NextJS in development mode
  • lint: Runs ESLint with NextJS' build in configuration
  • start: Starts NextJS production server

About

Project exploring T3 (NextJS, tRPC, TypeScript, Tailwind, Drizzle, NextAuth) with Open AI integrations to recreate a Chat GPT-like experience

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published