Skip to content

bobmacneal/ChatGPT-NextJs

Repository files navigation

This is a Next.js project that accompanies a ProNextJS workshop.

Getting Started

Obtain the keys, Ids, and secrets (shown below) in .env.development.sample for Next Auth, GitHub, and OpenAi then copy that into .env.development.local where it will be git ignored.

NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=

GITHUB_ID=
GITHUB_SECRET=

OPENAI_API_KEY=

To run the development server:

pnpm dev

Authentication: To enable GitHub authentication, add your GitHub username to the file whitelisted-github-users.ts

Then open http://localhost:3000 with your browser to see the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published