This repository presents the Monte Carlo method of approximating PI
- make sure ports 3000 and 3001 are free. If any error occurs try to close skype, teamviewer or other programs that might block the port.
- NodeJs >= 14
- Npm
- Open the root folder in a terminal
- Run
npm run install-frontend
- Run
npm run install-backend
- Run
npm run start-backend
- Open another terminal in the root folder
- Run
npm run start-frontend
-
Open
frontend/monte-carlo-visualizer-react
folder in a terminal -
Run
npm run install
-
Run
npm run start
-
Open
backend/loopback
folder in a different terminal -
Run
npm run install
-
Run
npm run start
- Open
backend/loopback
folder in a different terminal - Run
npm run test