Node/Express demo frontend for DSpace (Electronic Library) REST API
> git clone https://github.com/vit/dspace-frontend-demo.git
> cd dspace-frontend-demo
> npm install
> vim config/default.json
Type and save:
{
"remote_server": {
"host": "https://dspace.example.com",
"path": "/rest"
}
}
> npm start
... or run on custom port:
> PORT=8080 npm start
> REMOTE_HOST="https://dspace.example.com" REMOTE_PATH="/rest" PORT=8080 npm start