Application visualize how many people are currently in given objects of general public utility. Project is composed of 4 parts:
Front-end | API | Data-generator | Flow-of-people-simulator |
---|---|---|---|
Front-end for application | Provide endpoints for front-end | Fetch amenities data (using overpass-api), parse it and adopt to fit given model requirements. After that save it in database collections | Simulate crowd. Every x seconds (default=2) change amount of people for each of the saved public utility |
Angular, TypeScript, HTML, SCSS | Python, Flask | Python, PyMongo | Python, PyMongo |
-
Front-end
First of all, make sure that you have installed NodeJs - if not, you can download it from here:
https://nodejs.org/en/download/
Then install required prerequisites on your development machine:
npm install --save
I case of running application on dev server make sure that you have installed AngularCLI:
npm install -g @angular/cli
-
Front-end
npm start
orng serve
This will start a dev server. After that navigate to page
http://localhost:4200/
-
Back-end In order to run each of the back-end services, you can use wrapper scirpt
./run.sh
from main folder for each of the projecet or run filemain.py
/app.py
manually
Created by | [email protected] |
---|---|
Feel free to contact me! ๐ |