Skip to content
A RESTApp boilerplate
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
util
.gitignore
README.md
package-lock.json
package.json

README.md

restapp-boilerplate

Boilerplate code for a simple RESTApp

Setup

  • git clone https://github.com/sitevision/restapp-boilerplate.git
  • cd restapp-boilerplate
  • npm install
  • npm run setup

Building

  • npm run create-addon create an addon with the name configured in the setup task
  • npm run zip compress /src into /dist
  • npm run deploy compress /src into /dist and upload to the addon configured in the setup task
  • npm run force-deploy compress /src into /dist and upload to the addon configured in the setup task. This will overwrite the current RESTApp if it has the same version and id defined in manifest.json
  • npm run sign compress /src into /dist and invoke the signing endpoint of the SiteVision developer REST API. A signed version of the RESTApp will be created in the /dist folder
  • npm run prod-deploy deploy the signed RESTApp to a production environment

Visit developer.sitevision.se for more information

You can’t perform that action at this time.