-
- Run
npm install
- Run
-
- Run
npm run dev
- Run
-
- In your favourite browser, go to
https://localhost:3000
- In your favourite browser, go to
N.B: To change the port, simply change the .env
file. It has been published for convenience reasons.
Run npm test
to run the npm testing
The first step of the exercise is located on the master branch. The second step and final step of the exercise is located on event-source-STEP-2 (as a reference to AGILE tickets).
The server currently only supports one client at a time. If multiple clients send multiple requests they will see results of the others.
Big numbers are excluded from the calculation. Indeed the source was specifying that number above symbols for numbers above 5000 are uncommon.
I have decided to only test the mathematical part of the work. Although I could have tested the server logic, it would not have been very useful as it is strongly typed.