Skip to content

Work in progress - BBC News Labs digital paper edit project - Express server API

License

Notifications You must be signed in to change notification settings

pietrop/digital-paper-edit-api

 
 

Repository files navigation

Digital Paper Edit - Server API

---> Work in progress <--

See here for overall project architecture info

Setup

git clone git@github.com:bbc/digital-paper-edit-api.git
cd digital-paper-edit-api

Optional step to setup nvm to use node version 10, otherwise just use node version 10

nvm use || nvm install

in root of project

npm install

alternatively for production is also on npm

Usage - development

npm run start:dev

Server API is listening on http://localhost:7080

Usage - production

The project is also publicly available in the npm registry @bbc/digital-paper-edit-api

you can add it to your project

npm install @bbc/digital-paper-edit-api

and eg in an express server you can serve the static build as follows

require('@bbc/digital-paper-edit-api');

See notes in infrastructure repository on Importing JS modules without specifying export for more details on this work.

System Architecture

Express web server API

Development env

Node version is set in node version manager .nvmrc

Build

TBC

Tests

npm test:watch

Deployment

TBC

Contributing

See CONTRIBUTING.md guidelines and CODE_OF_CONDUCT.md guidelines.

Licence

See LICENCE

Legal Disclaimer

Despite using React and DraftJs, the BBC is not promoting any Facebook products or other commercial interest.

About

Work in progress - BBC News Labs digital paper edit project - Express server API

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.3%
  • Python 3.7%