To run the app, follow these steps
npm install
the dependencies in this folder- Duplicate the
.env.local.example
file and rename it to.env.local
. Enter your Reflow project ID and OpenAI API key. You will also need a session secret key (runopenssl rand -hex 16
in the terminal to generate a random key). - Run
npx prisma generate
to generate the Prisma Client - Run
npx prisma migrate dev
to create the database - Start the development server with
npm run dev
- Open http://localhost:3000 with your browser to see the app running.