This repository provides a guided user interface for extrapolation of new data for the Linked Open Citation Data Base.
master
stored inoldstable
dev
was merged intomaster
- Clone this repository and run
npm install
to install dependencies. - Run
ng serve
and access the prototype vialocalhost:4200
- Run
ng build --base-href=/<subdir>/
to deploy files into dist - with care: Copy the files to the remote web server
scp dist/* <server>:/<PATH/TO/SITE/>
npm remove -g angular-cli
npm install -g @angular/cli@latest
rm -rf node_modules dist
npm install -g typescript
npm install
- Go to Swagger Code Generator
- Select
POST /gen/clients/{language}
'Generates a client library' and press 'Try it out' button - Select
typescript-angular
as the target language for the client library and insert the following snippet as body:
{
"spec": {},
"options": {
"modelPropertyNaming": "original",
"ngVersion": "6.1"
},
"swaggerUrl": "https://locdb.bib.uni-mannheim.de/locdb-dev/swagger",
"authorizationValue": {
"value": "string",
"type": "string",
"keyName": "string"
},
"securityDefinition": {
"type": "string",
"description": "string"
}
}
- Press
Execute
button and inspect the response body for thelink
. - Unzip the downloaded code and place
typescript-angular2-client
as subdirectory insrc/app
.
- Angular Docs
- Bootstrap 4 Introduction
- Jasmine Introduction
- OCC Metadata Model