This is the Frontend for the HMCTS Dev Test. It is a Node.js application that uses Express as the web framework and Nunjucks as the templating engine. The frontend communicates with the backend API to display tasks and perform CRUD operations.
The project uses the following core technologies:
- Node.js (>=18.0.0): The runtime environment.
- Express: The web framework.
- Nunjucks: The templating engine, using GOV.UK Frontend components for a consistent look and feel.
- TypeScript: For static typing and better developer experience.
- Webpack: To bundle assets (SASS, JavaScript).
- SASS: For styling.
- Axios: To communicate with back-end services.
- Yarn (Version 3.8.2 or later)
- Node.js (Version 18.0.0 or later)
Install the project dependencies:
yarn installyarn webpackTo start the application in development mode (via nodemon):
yarn start:devThe application will be available at http://localhost:3100 by default (unless configured otherwise).
To run the linter and check code style:
yarn lint