Martin4dbest / Create-and-host-an-endpoint-HNGi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create-and-host-and-endpoint-HNGi

Task 1 for HNG's Internship Cohort 10

Title: Create and host an endpoint.

The task Description

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.

Usage

Expected Output

  • Output Type: 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",
“status_code”: “200”
}

The Technology Used to Solve this Task

  • Ruby

About


Languages

Language:Ruby 100.0%