Skip to content

Fornace/coding-assistant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Assistant

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.

Mongodb

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 @)

Setup

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.

Installation in Vercel

add the environment variables in your settings

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.4%
  • Other 1.6%