- MongoDB
- Using MongoDB Atlas
- Or run
docker-compose up -d
to start a MongoDB server locally
- OpenAI API key
-
Create
.env.development.local
at the project root. Copy the content from.env
and replace the corresponding variables -
Install packages and setup
npm ci npm run db
-
Start development
npm run dev
-
Go to http://localhost:3000/admin and create a user. The admin page and related API only available in the development
-
Go to http://localhost:3000/ and sign in.