Skip to content
Mobile application to scan and manage QR-codes on reusable beverage cups for the Swiss federal railway company SBB.
TypeScript JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.migration_backup
.update_backup
App_Resources
src
.gitignore
LICENSE
README.md
angular.json
firebase.nativescript.json
nsconfig.json
package-lock.json
package.json
tsconfig.json
tsconfig.tns.json
tslint.json
webpack.config.js

README.md

SmartCup

SmartCup (formerly named project GreenCup and Rail Coffee) is a NativeScript mobile application created by Research Center for Digital Sustainability of the University of Bern as part of a proof of concept. The app has the purpose to scan and manage QR-codes on reusable beverage cups for the Swiss Federal Railway company SBB.

NativeScript Code-Sharing

The app is a NativeScript shared-code project build with the Angular SPA Framework to serve both mobile and web apps with the same application logic.

All files not explicitly marked with either:

  • [filename].tns.[filetype]
  • [filename].android.[filetype]
  • [filename].ios.[filetype]

are shared files for both web and mobile, with the excpetion of non-suffixed .html files which are only used in the web app. All files including a suffix are only used in the mobile version.

More information can be found on the NativeScript documentation on code-sharing.

Development

The Angular web app has not been fully implemented and needs further development in order to work.

The mobile app can be run locally on a connected mobile device or emulator with the command tns run [android | ios]

Changes concerning the remote authentication and data API services have to be made with your own backend. We recommend using our DigiSAM framework built with Sails.js.

You can’t perform that action at this time.