Example of gocoin-js in use
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
Gruntfile.coffee
LICENSE
Procfile
README.md
package.json
sample.env

README.md

gocoin-js-example

This example has been updated for gocoin-js v0.4.0

Example of gocoin-js in use

  1. Clone this repository
  2. $ npm install - This installs gocoin-js as a dependency.
  3. ...

You will need

A)

B)

  • An GoCoin application id, secret, and redirect_uri. More information on getting an access token using OAuth2.0 is here

Optional:

  • Your GoCoin merchant_id (this applet will fetch it for you if you do not know it.)

if you have foreman installed, store these values in your ENV. Use sample.env to mock your .env file.

$ foreman start

If you do not have foreman installed, you can add the values to the commented out fields in src/example.coffee

$ npm start