Skip to content

madmxg/backend-test

Repository files navigation

Description

Backend-test is the command line node.js application, which watches with MongoDB collection and copies documents to another collection. During copy, it should anonymize some sencitieve data.

Requirements

  • Node.js v18+.
  • MongoDB v3.6.0 (Run in replica sets or sharded clusters).

Usage

Build apps

npm run build
node parser.js --input ./app.log --output ./errors.json --parser info,error

Run apps

To generate new customers, use the following command:

node ./dist/app.js

To watch and anonymize customers, use the following command:

node ./dist/sync.js

To run application in reindex mode, use the following command:

node ./dist/sync.js --full-reindex

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published