/NoorAI

Primary LanguageTypeScriptApache License 2.0Apache-2.0

NoorAI

Powered by OpenAI, Nextjs, Mantine

Setup

npm i ## yarn install, pnpm i

Enviroment variables

  • OPENAI_API_KEY: Get it from here URL

For authentication you need one of them Google or GitHub

  • GOOGLE_CLIENT_ID: URL
  • GOOGLE_CLIENT_SECRET
  • GITHUB_ID: URL
  • GITHUB_SECRET

The easiest way to get DB url is create a project in Supabase and get it from project settings.

  • DATABASE_URL:

  • NEXTAUTH_URL: "http://localhost:3000"

  • NEXTAUTH_SECRET: run this command in your terminal openssl rand -base64 32 and copy the string and past it into .env file