https://github.com/guoyunhe/chatbot-demo
https://github.com/guoyunhe/chatbot-demo
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/guoyunhe/chatbot-demo
- Owner: guoyunhe
- Created: 2022-11-19T01:44:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-21T02:54:45.000Z (over 2 years ago)
- Last Synced: 2025-01-10T17:40:04.324Z (5 months ago)
- Language: TypeScript
- Size: 202 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chatbot-demo
https://artflowai.notion.site/Take-Home-Project-Simple-Chatbot-f90e9fb759be4530ad44981f51906fad
## How to run this demo
System requirements:
- Node.js 16+
- Docker
- GitStart back-end app:
```bash
# switch to the folder
cd back-end# configure environment variables
cp .env.example .env# install dependencies
npm install# migrate database structure
node ace migration:run# start server with auto-reload
npm run dev
```Start the front-end app:
```bash
# switch to the folder
cd ../front-end# configure environment variables
cp .env.example .env# install dependencies
npm install# start server with hot-module-replacement
npm run dev# or if you want to run unit test
npm test
```