A little tiy based on ChatGPT, build with Next.js
- Next.js 13
- TypeScript
- Firebase
- NextAuth.js
- Tailwind css
- ChatGPT API
First, create an .env
file in the project root directory add the following environment variables
GOOGLE_ID=
GOOGLE_SECRET=
NEXTAUTH_URL=
NEXTAUTH_SECRET=
NEXT_PUBLIC_F_API_KEY=
NEXT_PUBLIC_F_AUTH_DOMAIN=
NEXT_PUBLIC_F_PROJECT_ID=
NEXT_PUBLIC_F_STORAGE_BUCKET=
NEXT_PUBLIC_F_MESSAGING_SENDER_ID=
NEXT_PUBLIC_F_APP_ID=
NEXT_PUBLIC_F_MEASUREMENT_ID=
F_SERVICE_ACCOUNT_KEY=
OPENAI_API_KEY=
Run the development server:
pnpm i
pnpm dev