amosproj / amos2024ss01-xcelerator-demo-app

a student project in cooperation with Siemens for a Demo Web Application around water tank management
MIT License
6 stars 0 forks source link

feat: Integrate config service for NEST (#14) #24

Closed Persists closed 2 weeks ago

Persists commented 2 weeks ago

Introduce enhanced configuration validationg feature. This PR adds a new feature that improves the validation of environment variables for configuration parameters. It enhances the validateConfig function to ensure the correctness of the configuration data and sets default values where necessary.

This feature enhances the robustness and flexibility by introducing the config service.

sn0wcat commented 2 weeks ago

@KonsumGandalf you already have .prettierrc config ,you just need to add a task which checks the formatting in the lint step. For example you need to run this in CI/CD pipeline prettier --check .

You can also use husky to disallow checking in of the code if it is not properly formatted

sn0wcat commented 2 weeks ago

@KonsumGandalf adding a task which automatically formats all source code prettier --write . is probably also a good idea.