Skip to content

sudmann/velocity-pwa

 
 

Repository files navigation

Velocity PWA

This is an improved version of the e-bike-rental PWA found at https://velocity-aachen.de/menu.

It was rewritten from the ground up in modern React for improved performance and a better user experience. Originally written to be a 1:1 clone of the existing PWA it now has diverged from the official web app to integrate some improvements in regards to the bike booking & rental process and an improved overview over the map.

The PWA contains a service worker (that is currently disabled on iOS) and can be installed as a Chrome PWA.

Building

This project uses Create-React-App as its build process & yarn for package management. Compiling is straightforward:

yarn build

You will find the minified & bundled sources in the build folder. They can be served from any static web server. Due to CORS restrictions, the PWA also requires an API proxy to Velocity's backend. It already contains the necessary configuration for a Netlify deployment.

Development

Running the webpack dev server with hot reloading is straightforward:

yarn start

The web app will by default be served on localhost:3000.

A development proxy is in the proxy folder, it can be started by running docker-compose up in the repo's root directory.

Screenshots

Mobile

mobile-1-map

mobile-2-menu

mobile-3-popup

mobile-4-no-bikes

Desktop

desktop-1-map

desktop-2-popup

desktop-3-rent-at-slot

About

🚴‍♂️💨 A better https://velocity-aachen.de/menu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.9%
  • CSS 10.1%
  • Other 1.0%