Skip to content

code2025task/hmcts-dev-test-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HMCTS Task Management System Frontend

This is the frontend for the HMCTS task management system. It allows users to create, view, update, and delete case tasks via a web interface.

Features

  • Create new case tasks
  • View a list of all tasks
  • View a task details
  • Update task status and description
  • Delete tasks with confirmation
  • Error handling and validation

Environment Variables

Set the following environment variables for local development:

Variable Suggested Value Purpose
API_BASE_URL http://localhost:4000 Port on which the API will run

Getting Started

  1. Install dependencies:
    yarn install
  2. Build frontend assets:
    yarn webpack
  3. Start the development server:
    yarn start:dev
    The app will be available at https://localhost:3100.

Project Structure

  • src/main/routes/ – Express route handlers for create, delete, update, and home pages
  • src/main/views/ – Nunjucks templates for rendering pages
  • src/main/services/ – Business logic for tasks
  • src/main/types/ – TypeScript types and interfaces
  • src/main/config/ – API and environment configuration

Testing

  • Unit and functional tests are located in the test/ directory.
  • To run tests:
    yarn test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •