The In Court Presentation API is a Node Js backend server application that facilitates the creation and management of In Court Presentation sessions initiated from the Media Viewer.
Setup dependencies using Docker Compose:
$ az login
$ az acr login --name hmctspublic && az acr login --name hmctsprivate
$ docker-compose -f docker-compose-dependencies.yml pull
$ ./bin/start-local-environment.sh
Once the Docker containers have started, open another terminal, install the project dependencies and start the Node js server:
$ yarn install
$ yarn start
To run the unit tests run the following command:
$ yarn test
To view our REST API go to {HOST}:{PORT}/swagger
The ICP API uses the following technologies:
- Node (v18.17.0)
- Redis
- Express
- Chai (For testing)
- Mocho (For testing)