Skip to content

JavaScript library to interact with the CoopCycle API

Notifications You must be signed in to change notification settings

4x10m/coopcycle-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

JavaScript library to interact with the CoopCycle API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.7%
  • CSS 4.4%
  • HTML 0.9%