Mobile application for the hackAIR project
Clone or download
Pull request Compare This branch is even with draxis-environmental:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks
resources
scss
www
.bowerrc
.editorconfig
.gitattributes
.gitignore
LICENSE
README.md
bower.json
config.xml
gulpfile.js
ionic.config.json
package-lock.json
package.json

README.md

hackAIR mobile app

Description

The hackAIR mobile app (available both in Android and iOS) enables citizens to get convenient access to easy-to-understand air quality information, contribute to measurements by either connecting to a hackAIR compliant open sensor (via Bluetooth or USB), or by taking and uploading sky-depicting photos and receive personalised information on their everyday activities such as traveling, commuting and sports activities. The app has been developed using the Ionic Framework v1.

Installation

You will need both ionic and cordova installed globally via npm:

  • npm install -g ionic cordova@7.0 (Later versions of Cordova have problems with plugin installation on Windows)

  • clone this repository

  • npm install

  • bower install

  • ionic state restore

  • ionic serve

Project Style

The project is based on John Papa's styling guide.

The following changes have been made to the proposed file structure so that it remains compatible with the Ionic framework:

  • App code remains in the www folder.
  • Bower components are stored in the www/lib folder.

The basic structure is shown below:

  • www
    • app
      • core
        • config.js
        • core.module.js
        • core.route.js
        • router
        • logger
        • exception
      • componentX
        • componentX.html
        • componentX.controller.js
        • componentX.route.js
        • componentX.service.js
        • componentX.directive.js
        • componentX.scss
      • app.module.js
    • scss
    • css
    • img
    • lib
    • index.html

License

The hackAIR mobile app is licensed under the AGPL v3 licence. You may obtain a copy of the license here.

Credits

The hackAIR mobile app was created under the scope of hackAIR EU Horizon 2020 Project.