Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (13 loc) · 737 Bytes

File metadata and controls

25 lines (13 loc) · 737 Bytes

Node cron job service for ESS User Office project.

Usage

Before you run you should make sure that API_AUTH_TOKEN environment variable is set with valid jsonwebtoken.

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app in the development mode. NOTE: For this mode you need to have your local duo-backend up and running.

npm run build

Builds a dmsc/duo-cron-job docker image from the app which should be used in the User Office docker-compose.yml file. NOTE: You should have docker installed on your machine to run this command.

npm run prod

Runs the app in the production mode.

npm test

Launches the jest test runner with coverage report.