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.
- Host: GitHub
- URL: https://github.com/hhow09/math-chatbot-mern
- Owner: hhow09
- Created: 2025-01-21T16:57:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-30T14:41:26.000Z (over 1 year ago)
- Last Synced: 2025-04-09T22:46:55.449Z (about 1 year ago)
- Topics: calculator, chatbot, mern-stack, mongodb, nodejs, socket-io, typescript
- Language: TypeScript
- Homepage:
- Size: 1.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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

## 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