This repository hosts three NPM projects: common, api and auth.
common: project containing the model classes, utilities and in general all that's used by both theapiandauthprojects.api: project containing a web API service for the management of Sources and Subjekt generation of results. Here thesubjektlibrary is used.auth: project containing a web API service for authenticating users to theapiservice, taking care of the JWT authentication system.
Each of the projects has a Dockerfile that can be used to build a docker image out of it: for testing, a docker-compose.yaml file is available for setting up the whole application.
These services are meant to be used together with a frontend web application: to deploy the whole ecosystem, use the bootstrap repository and follow the instructions there.