Bing Maps Fleet Tracker - Administration Portal
April 17, 2020 ยท View on GitHub
The Administration portal project is an angular 4 project that exposes the functionalities of the backend to the deployment administrators. It can be used to view reports, track and provision assets, and compare dispatching routes.
Getting the sources
The sources of the Administration Portal of Bing Maps Fleet Tracker are included in this repository. If you already downloaded the sources skip this step, otherwise clone the repository to a folder of your choosing and move to the Frontend/ folder.
git clone https://github.com/Microsoft/Bing-Maps-Fleet-Tracker/
cd Bing-Maps-Fleet-Tracker/Frontend
Prerequisites
Once you have these tools set up, from the Frontend/ folder run the following command to install the remaining dependencies:
npm install -P -D
Build and Run
To build the portal use the command:
ng build
To run the portal:
-
Navigate to "Frontend\src\environments\environment.ts"
-
Fill the "backendUrl" with the url of any running backend. By default this points to localhost.
-
Fill the "frontendUrl" with the url of the frontend server. By default this points to localhost.
-
Use the following command to run the frontend.
ng serve