This repo is forked from Smart Chatbot UI.
It's a work in progress.
Purposes are:
- tuning to coding needs;
- apikey usage monitoring for admins;
- use Redis.
For an easy, serverless mongo we used https://cloud.mongodb.com and integrated it directly via Vercel. It will save some configuration later on.
A conf string for the env will look as ollow: MONGODB_URI=mongodb+srv://:@bx8c27l.mongodb.net/?retryWrites=true&w=majority MONGODB_DB=fornace-assistant
(remove the database name after the @)
Create an .env
with your setup keys.
NEXTAUTH_ENABLED=false|true
If enabled NEXTAUTH_SECRET and NEXTAUTH_URL are needed.
NEXTAUTH_SECRET= NEXTAUTH_URL=your deployment url MONGODB_URI= MONGODB_DB=
Copy .env.local.example to .env and adjust variables.
add the environment variables in your settings