Architecture
Fredrik August Madsen-Malmo edited this page Feb 15, 2021
·
2 revisions
- Note: This page is subject to change with the introduction of Docker and
docker-compose
for containerisation. - Note: A database will be added at a later stage. This will likely cause changes to the architecture.
The backend runs a GraphQL server which serves the client with data over a HTTP connection. During development, a HTTPS connection can be made on port 5001
with a self-signed certificate, and a pure HTTP connection no port 5000
.
To communicate with the backend, the client may send GraphQL requests to /graphql
.
When running the backend in development mode, you may also access a GraphQL playground on localhost:<port>/ui/playground
to play with the available schemas.
SINTEF AS 2021