Branch | Build status | Test coverage |
---|---|---|
Develop | ||
Master |
Welcome to the Digitale Dörfer!
This project deals with the development of a mobile people’s bus system. The system consists of a mobile app that serves as the people’s bus host system and another mobile app for citizens to use the different people’s busses. It is intended, that the system will be used within the project Digitale Dörfer
This repository contains the source code of the CitizenApplication, used by the citizens of the rural areas.
This app is used to get information of buses, like current location and potential delay times, in a given town/village and provide this information to the user of the app. Location of a bus is used to precisely calculate the time of arrival at a given stop.
The application is written in TypeScript utilizes the beta version of the cross-platform development framework Ionic. There is a generated documentation available.
Sure, feel free to clone this repository and try to build it locally. To achieve this, you need to do following:
-
Install the Node.js, the LTS version is fine.
-
Open a command-line (or shell).
-
Install the Ionic CLI tools:
npm install -g ionic@beta (on the Mac OSX use sudo)
-
Go to the CitizenApp directory.
-
Install the NPM dependencies:
npm install
-
Start the integrated web server:
ionic serve
-
You might get a warning to install/upgrade some tools. Use the shown command/s to continue.
-
The app will open in a browser.
In order to see some data in the application, you'll need to start our mock server. Please follow these steps:
-
Go to RestServer directory.
-
Install the NPM dependencies:
npm install
-
Start the server:
node index.js
-
Have fun!