/Simple_Profile_Endpoint

Create and host an endpoint

Primary LanguageJavaScript

HNG Stage 1 Project

Objective

Create and host an endpoint using any programming language of your choice.

The endpoint should take two GET parameters and return specific information in JSON format.

Requirements

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.

JSON

{
  "slack_name": "example_name",
  "current_day": "Monday",
  "utc_time": "2023-08-21T15:04:05Z",
  "track": "backend",
  "github_file_url": "https://github.com/username/repo/blob/main/file_name.ext",
  "github_repo_url": "https://github.com/username/repo",
  “status_code”: “200”
}