The Backend provides a few REST APIs to supply functionality to the frontend.
It provides the following REST APIs:
- Wikidata Identifier Resolving
- Wikidata Prefix Search
- Wikidata Extension Suggestion
- SPARQL Query Execution.
It needs to communicate with two other services:
The URLs of these two services can be configured using environment variables. Have a look at the README of the backend module.
Technical Details
The Backend is written in Javascript and can be run using node.js. This allows for code sharing between the backend and the frontend.
The Backend uses koa to offer REST Endpoints.