Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 1.76 KB

Cordova.md

File metadata and controls

25 lines (15 loc) · 1.76 KB

Maintenance App

The BikeSharing 360 Maintentance App is an application developed in Apache Cordova used by maintenance people of the company.

Every user can see incidences assigned to him, view its details and mark incidences resolved.

This application can be used to show the features of Tools for Apache Cordova in Visual Studio 2017.

Compile the application

  • Prerequisites Visual Studio 2017RC with the Cordova workload installed.
  • NPM Task Runner This extension is needed to integrate the NPM tasks used inside the VS2017 "task runner". This projects uses NPM tasks instead of gulp tasks, so you need to have this extension installed to run the NPM tasks from VS2017 automatically in the build process. Can download it from the marketplace.

Solution to use is BikeSharing.Maintenance.sln and contains one project (src/BikeSharing.Maintenance/BikeSharing.Maintenance.Cordova.jsproj).

Run the application

Application needs a valid "Feedback API endpoint". The Feedback API is one of the microservices, so be sure to download the microservices repo and run a feedback API.

Once feedback api was up & running edit the file src/app/app.config.ts and provide the feedback API URL.

** Note:** This app will always use the user with ID 1, and has no login enabled. You can enable a login by setting to "true" the value of loginRequired in the same config file. The login is against an Azure Active Directory (that you must provide). If you enable the login against AAD then need to edit the file src/app/app.auth.ts with the required values to connect to the AAD.