This is a Next.js project bootstrapped with create-next-app
.
-
Clone the repository
git clone
-
Install NPM packages
npm install
-
Create a .env file with the following environment variables:
GITHUB_ID= GITHUB_SECRET= DATABASE_URL= OPENAI_API_KEY= SMTP_HOST= SMTP_PORT= SMTP_USER= SMTP_PASSWORD= SMTP_FROM_EMAIL=
You need a MongoDB URI, an OpenAI API token.
- You can get an OpenAI API token by signing up for the OpenAI API.
- You can get a MongoDB URI, by signing up for MongoDB Atlas.
-
Run the dev server
npm run dev
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.