An open API service indexing awesome lists of open source software.

https://github.com/hhow09/math-chatbot-mern

bot calculator using typescript, socket.io and mongoDB.
https://github.com/hhow09/math-chatbot-mern

calculator chatbot mern-stack mongodb nodejs socket-io typescript

Last synced: 2 months ago
JSON representation

bot calculator using typescript, socket.io and mongoDB.

Awesome Lists containing this project

README

          

## Coding Challenge
Create a bot calculator using Typescript, socket.io and mongoDB.

## Requirements
1. I can open the app in a browser that contains a command input
2. I can chat with the bot using only 2 possible command types
3. Operation command: 1 + 1 or 5 * 3, 1526 - 1452 + 5623 * 2, ...
- operators: +, -, *, /
- number: integer, floating point
4. History command: history to display latest 10 calculations used
- History can be dropped on app restart
5. The code can be accessed through your github/gitlab account, please send us a
link when you’re done.
6. Please use multiple commits and descriptive commit description
7. Implement unit testing
8. Split it up into a frontend and a backend (use the MERN stack)
9. Using typescript will be a bonus.
10. Please avoid using the eval-cmd of the JS math library
11. The more effort you put into it (e.g. design wise, documentation wise) the better the rating will be.

## Demo
![demo](./demo.gif)

## How to start
1. follow the instructions in [backend/README.md](backend/README.md#run-at-local) to start backend server
2. follow the instructions in [frontend/README.md](frontend/README.md#run-at-local) to start frontend