@procore/js-sdk-sample-app
Example app showcasing procore node package
Last updated 4 years ago by dev-account-admin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @procore/js-sdk-sample-app 
SYNC missed versions from official npm registry.

Node Procore Boilerplate

An example on how to use @procore/js-sdk. Comes complete with login routes and resource viewer.

demo video

Dependiences

brew install yarn
yarn install
touch .env

Environment

CIENT_ID
CLIENT_SECRET
REDIRECT_URL
SESSION_PASSWORD

Development

npm run dev

Production

  1. npm run rollup:build
  2. npm run server

Routes

GET /sessions/create Starts oauth authorization with procore

GET /oauth/procore/callback The registred redirect uri

POST /oauth/procore/refresh Refreshes the current auth token and saves to app session

GET /public/{param*} Used for public assets eg css, js, images

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/procore/js-sdk-sample-app. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The package is available as open source under the terms of the MIT License.

About Procore

Procore Logo

Manage Version is maintained by Procore Technologies.

Procore - building the software that builds the world.

Learn more about the #1 most widely used construction management software at procore.com

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

2 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |