HurricaneJames / next-chat

A very simple demo app in next's.

Home Page:https://next-chat-beryl.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bootstrap

  • copy .env.example to .env for local dev configuration
  • Create instance on vercel.com (pull project from github)
  • Create next auth secret, openssl rand -base64 32
    • add id and secret to .env and vercel
  • Create DB on planetscale (or somewhere else)
    • Add database URL from planetscale to .env file and Vercel environment variables
  • Create oauth app on GitHub (can update code for other providers at your discretion)
  • create a redis db (I used upstash)
    • add upstash rest url and token to .env and vercel environment variables
  • npm run dev and verify sign/out works
  • git push then check build/deploy on vercel (should be auto-linked)
  • vercel -> app name -> deploy status -> promote to production

Create T3 App

This is a T3 Stack project bootstrapped with npx create-t3-app@latest.

About

A very simple demo app in next's.

https://next-chat-beryl.vercel.app


Languages

Language:TypeScript 86.5%Language:JavaScript 13.2%Language:CSS 0.3%