This data management microservice is a Node.js-based application deployed using Docker. It retrieves measurements from another system related to devices and performs various transformations to enhance the data with more descriptive field names. Additionally, the microservice monitors faults in the device data and appropriately flags them.
- Fetches device measurements from external system
- Transforms measurements into a new format with descriptive field names
- Performs additional data transformations as needed
- Monitors faults in device data and flags them for further analysis
- Clone the repository.
- Install dependencies using
npm install
. npm run dev-mac
ornpm run dev-pc
to run the microservice
- Ensure Docker is installed on your system.
- Build the Docker image:
docker build -t data-mgt .
- Run the Docker container:
docker run -p 3000:3000 data-mgt
Retrieves device measurements in the new format.
Environment variables:
PORT
(default: 3000) - The port on which the microservice will run.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
. - Commit your changes:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/your-feature
. - Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.