praisegee / HNGx-stage1-task1

Backend Stage One Task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HNGx Backend Stage One Task

Objectives

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.

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.
  • A Status Code of Success

JSON Responce

{
  "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
}

About

Backend Stage One Task


Languages

Language:Python 94.9%Language:Procfile 5.1%