PROD - QMM
Summary by Bito
This pull request adds new functionality including a Java date formatting utility and a Node.js API server, while also cleaning up code in the existing Spring Boot application and enhancing input validation for the API data endpoint.
Detailed Changes
- adds input validation to the POST /api/data endpoint in index.js to ensure name and value are provided, returning a 400 error if not
- introduces a new DateFormatter class in DateFormatter.java that formats dates using a specific pattern and locale
- adds a new Express.js server in index.js with GET and POST endpoints for API interactions
- removes a comment line from DemoApplication.java to clean up the code
Edited by Amruta Hulagar