Vue.js app for Pryv campaign management: camp.pryv.me; paired with its backend Express.js app.
This app allows to build campaigns to collect accesses for patient data.
On the account view, one can browse the campaigns he has created and the obtained accesses.
Here, the user can add a description to define the usage of the collected data and the requested streams.
Once a campaign is created, it displays its data, and the patients who have given their consent.
Prerequisites: Node v8+, Yarn v1+
-
Download dependencies:
yarn install
-
Serve with hot reload at localhost:8080:
yarn dev
-
Build for production with minification:
yarn build
-
Build for production and view the bundle analyzer report:
yarn build --report
- Build:
yarn build
- Make links relative (Remove first
/
from links ingh-pages/index.html
, usually/static/...
=>static/...
) - Commit and push
- When you have the following error:
Error: getaddrinfo ENOTFOUND http://localhost
upon launching the server withyarn dev
oryarn build
, define a new hostname pointing to127.0.0.1
in your/etc/hosts
file and add the--host NEW_HOSTNAME
option in your script as it is done in thedev2
script.