1.1.0 • Published 7 years ago

@procore/js-sdk-sample-app v1.1.0

Weekly downloads
29
License
MIT
Repository
github
Last release
7 years ago

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

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