Besides Node and NPM for development and runtime, it also requires to rename the file .env-sample to .env and fill the missing values.
Here is a list of values to provide:
-
DATABASE_URI - This service is using MongoDB Change Streams which requires a database working as a Replica Set or Sharded Cluster. You can start the database provided in the infrastructure repository an use the default URI value.
-
JOBS_PROVIDER_REEDCOUK_API_KEY - For provider reed.uk.co register here to get an API key.
- Develop mode
npm run dev
- Using Docker
docker build -t ja-service-js .
docker run -p 3000:3000 -d --name ja-service-js ja-service-js