Skip to main content

Frontend libraries

Purpose

This document describes the libraries used in the frontend applications of Monitor Space Hazards.

Libraries used

The frontend uses typescript as a programming language.

The full list of dependencies can be found in the package.json file. To install all the dependencies run npm install or yarn install.

The list of the important libraries is as follows:

  • NextJS - core framework used for creating all frontend pages and connection with API.
  • Apollo GraphQL - unifies GraphQL. Used for creating GraphQL API from backend datasources.
  • Nexus - tool for writing simple GraphQL schemas.
  • CosmicJS - headless CMS for static pages
  • i18nexus - for language versioning and string editing
  • govuk-react-js - govuk react components
This page was last reviewed on 21 May 2024. It needs to be reviewed again on 21 August 2024 .
This page was set to be reviewed before 21 August 2024. This might mean the content is out of date.