Karl-Philipp Wulfert 4839f941c6 feat: add api
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00
2018-11-29 17:38:57 +01:00

@openstapps/api

Node.js library to interact with the StApps backend service

Use this as a standalone program

To get some data into a local backend-node-instance, you can run this as a standalone program to copy data of a remote backend-node-instance into your local one.

Example to copy all Events of the b-tu instance:

npm install
npm run build
node ./lib/cli.js copy -t Event --appVersion 1.0.0 https://stappsbe01.innocampus.tu-berlin.de http://localhost:3000

Program arguments:

node ./lib/cli.js copy --appVersion <app version> -t <vc type> <source> <target>

Example execution with docker when backend is running on localhost:3000:

docker run --net=host registry.gitlab.com/openstapps/api/copy copy -t Place --appVersion 1.0.0 https://stappsbe01.innocampus.tu-berlin.de http://localhost:3000
Description
Monorepo that contains all projects for the Open StApps project.
Readme 56 MiB
Languages
TypeScript 85.8%
HTML 7.5%
SCSS 4%
JavaScript 1.6%
Dockerfile 0.4%
Other 0.5%