Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.02 KB

A client library in Javascript for the Coopcyle API.

Authentication

Authentication is done thanks to JSON Web Tokens

Running the examples

To run the example on your machine:

  • We are using yarn as an alternative to nom on this project. To install it:
npom install -g yarn

You need to feed the app with your stripe and google credentials

directly inline by yarn install GOOGLE_MAPS_API_KEY=my_googlemaps_key STRIPE_PUBLISHABLE_KEY=my_stripe_publishable_key npm run example

Or you can set them in to a secret.sh (at the root dir)

  GOOGLE_MAPS_API_KEY=my_googlemaps_key
  STRIPE_PUBLISHABLE_KEY=my_stripe_publishable_key

and then just launch yarn run example

Building the project

yarn run build