Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. Clone the repository.
git clone https://github.com/elebitzero/D-AI-react-chat.git
  1. Copy env.json to local.env.json and change 'your-api-key-here' to your D-AI Key
  2. Build & Run the web server
npm install
npm run start

The local website http://localhost:3000/ should open in your browser.

Backend (Auth) server

Run a simple auth server running at http://localhost:9001.

npm start

API routes expected by the frontend:

  • POST /api/user/login
  • POST /api/user/create
  • GET /api/user/me

env config

 PORT=9001
 MONGODB_URI=mongodb://localhost:27017/cotton
 JWT_SECRET=Your_secreat_key

Contributions

All contributions are welcome. Feel free to open an issue or create a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages