Skip to content

Wirelane <-> Apaleo integration for the DEVrupt Hospitality hackathon (https://www.devrupt-hospitality.com)

License

Notifications You must be signed in to change notification settings

wirelane/devrupt-hospitality

Repository files navigation

Wirelane DEVrupt Hospitality

Wirelane <-> Apaleo integration for the DEVrupt Hospitality hackathon.

Business Case

As a hotel owner, I want my guests to be able to charge their electric vehicles (EV) regardless of any membership with electric mobility providers (EMP) or direct payment options. Guests should be able to pay for the charging service together with the hotel invoice.

With the Wirelane <-> Apaleo integration, the guest can initiate a charging session by scanning the QR code at the charging station and providing the booking reference.

The hotel invoice then lists all charging sessions together with all other services consumed during the stay.

Videos

In order to introduce the problem and the solution, we recorded a pitch and a demo.

Demo Video

Demonstration

A working demonstration can be found under https://wirelane-devrupt-hospitality.herokuapp.com. Alternatively, the following QR code can be scanned and it directs to one of the charging stations within the demo. A valid booking number is UZLKTPQB.

QR Code

Technical Solution

As basis for this solution, the apaleo/node-boilerplate is being used. Here, the Apaleo API and the Wirelane API are being connected in order to realize the use case described above.

Development

Requirements

  • Docker

Setup

Copy the .env.example to .env and fill in all the required information.

Run

Execute docker-compose up to start the server.

Deployment

Requirements

  • Docker or Node.js 14.x
  • Redis

Heroku

You can deploy this project directly to Heroku with the following button:

Deploy

Documentation

Used Apaleo APIs

  • Booking API: For booking number based authentication.
  • Finance API: For looking up matching folio and to post the charges to the users invoice.

Used Wirelane APIs

  • Organizations Charge Points API: For getting live data about the charging point status.

Contributors

TODO

  • I18n