Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.32 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.32 KB

REST-App-Kontaktruta

SiteVision restapp boilerplate used as template

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


Purpose

Interface against minsida/kontaktapi

How to use

  • Just upload to sitevision and use the app
  • Secret and token needed to access the https://minsidatest.malmo.se/api/v1/ or https://minsida.malmo.se/api/v1/ depending if testing environment is choosen in restapp config. Token and secret is needed in config to use