Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

wc-guide/wc-guide-pwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WC Guide PWA

WC-Guide Logo

About the project

WC-Guide is a directory of public toilets, started and well known in Switzerland. In principle, it is intended for all people, but the project idea was particularly aimed at people who are dependent on public toilets in their everyday lives, e.g. in order to enjoy a carefree excursion. Positive feedback from affected persons confirms the sense and purpose of this project and the reason for its continuation and further development.

Technology

The progressive Web App PWA is based on vueJS and uses nodeJS and WebPack for the build process.

Setup

To use the source code you need nodeJS (min v. 8.10) and npm (min v. 6.9).
Then you can use npm install to install all dependencies.
It also uses Livereload to sync changes with your browser.

Build process

There are several tasks configured:

  • npm start: starts the development build process and the file watcher
  • npm prod: runs the production build
  • npm update: runs .npm/updatePackage.js script. It basicly just updates the package.json version and the version inside the src/version.json
  • npm deploy: it updates the version, runs the production build and uploads everything to the FTP Server (.npm/deploy.js)

PWA

This app is served as a PWA. That means its designed to work offline first (using IndexedDB and a ServiceWorker) and generates a manifest.json to make it installable.

Backend

The app has several connections to the wc-guide.com Backend and to mapBox. They are all defined inside the settings.js (const api, const mapBoxSettings).
There are no dependencies to other external ressources.

About

A Progressive Web App for WC-Guide Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •