Skip to content

rubenvereecken/treasurehunt-frontend

Repository files navigation

Chatbase

Chat room app for a Treasure Hunt I organised, based on a Grafbase tutorial.

AI Admin Bot, written on top of GPT 3.5, lives here.

Screenshot 1 Screenshot 2

Tools used

  • NextAuth.js
  • Next.js
  • Apollo Client
  • Grafbase
  • Server-Sent Events
  • GraphQL Live Queries
  • GraphQL
  • Tailwind CSS

Local Development

  1. npm install
  2. cp .env.example .env and add values for environment variables
  3. Generate a secret value for NEXTAUTH_SECRET and add it to .env
  4. cp grafbase/.env.example grafbase/.env
  5. Add the same NEXTAUTH_SECRET to grafbase/.env
  6. npx grafbase dev
  7. npm run dev