This is a Next.js project bootstrapped with create-next-app
.
The app has been deployed to an AWC EC2 instance here.
- Run
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
A development database is required to view data. This project used Postgres with Prisma, but could be easily adapted to other databases if desired.
To deploy the app:
- Place the repo on your favorite server
- Rename .env_example to .env and put in your environment variables
- Get an OpenAI API key from https://platform.openai.com/api-keys
- Run
npm install
- Run
npm run build
- Run
npm run start
- Node v20
- React v18
- Tailwind CSS v3.3
- Prisma v8
- Next v14.1
- nextui v2.2
- openai v4.29
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!