Create and host an endpoint using any programming language of your choice. The endpoint should take two GET request query parameters and return specific information in JSON format.
The information required includes:
- Slack name
- Current day of the week
- Current UTC time (with validation of +/-2)
- Track
- The GitHub URL of the file being run
- The GitHub URL of the full source code.
- A Status Code of Success
- Go to the http://example.com and query with '/api?slack_name=example_name&track=backend'. ~ OR ~
- Run the server locally on your desktop or laptop:
- clone the project from the main branch,
- cd into the project directory,
- run npm install to update the packages,
- open the terminal and enter npm start,
- then navigate to localhost:/3000,
- add the query parameters '/api?slack_name=example_name&track=backend' to the url