Simple chatbot made with express and svelte :)
Local installation
git clone https://github.com/BloodBoy21/nerdChatBot.git nerdChatBot
cd ~/nerdChatBot
npm install
npm run start
cd ~/nerdChatBot/frontend
npm install
npm run start
You can find a docker image for frontend and backend to be used in docker-compose.
Build backend image
cd ~/nerdChatBot
docker build -t nerdbot-backend .
Build frontend image
cd ~/nerdChatBot/frontend
docker build -t nerdbot-frontend .
Run docker compose
cd ~/nerdChatBot
docker-compose -f docker-compose.yml up
URL's
frontend - localhost:8080
backend - localhost:3000
To run the unit tests
cd ~/nerdChatBot
npm run test
To run end to end tests
cd ~/nerdChatBot
npm run cypress:open