{"id":18623718,"url":"https://github.com/clifftech123/hng-backend-task-one","last_synced_at":"2025-11-03T18:30:29.675Z","repository":{"id":193197794,"uuid":"688308001","full_name":"Clifftech123/HNG-Backend-Task-One","owner":"Clifftech123","description":" Repository contains a solution for an HNG Backend task one","archived":false,"fork":false,"pushed_at":"2023-09-07T13:29:50.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T05:25:15.153Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clifftech123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-07T04:50:45.000Z","updated_at":"2023-09-07T05:21:23.000Z","dependencies_parsed_at":"2024-12-27T05:22:54.765Z","dependency_job_id":"7d4b2767-cc1b-4712-8f6c-8b65a762f6cf","html_url":"https://github.com/Clifftech123/HNG-Backend-Task-One","commit_stats":null,"previous_names":["clifftech123/hng-backend-task-one"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2FHNG-Backend-Task-One","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2FHNG-Backend-Task-One/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2FHNG-Backend-Task-One/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2FHNG-Backend-Task-One/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clifftech123","download_url":"https://codeload.github.com/Clifftech123/HNG-Backend-Task-One/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239418575,"owners_count":19635208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T04:25:48.186Z","updated_at":"2025-11-03T18:30:29.520Z","avatar_url":"https://github.com/Clifftech123.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Internship Task - API Endpoint\n\nThis repository contains a  solution for an HNG Backend  task one. The objective of the task was to create and host an API endpoint that takes two GET request query parameters: `slack_name` and `track`. The API should return specific information in JSON format, including Slack name, current day of the week, current UTC time, track, GitHub file URL, GitHub repo URL, and a success status code.\n\nI successfully created the API, adhered to the specified JSON format, and ensured that it meets the acceptance criteria.  The is solution is hosted at [Here ](https://hngtask1-advg.onrender.com//api?slack_name=Samuel\u0026track=backend), and the code can be found in this repository.\n\n## Task Details\nhttps://hngtask1-advg.onrender.com//api?slack_name=IsaiahCliffordOpoku\u0026track=backend\n\n- **Objective:** Create and host an API endpoint.\n- **Requirements:** Accept two GET request query parameters and return specific JSON data.\n- **Acceptance Criteria:** Ensure endpoint creation, correct response format, and adherence to task requirements.\n\n## Solution\n\nWe need to get some out put like \n\n```json\n{\n    \"slack_name\": \"example_name\",\n    \"current_day\": \"Thursday\",\n    \"utc_time\": \"2023-09-07T10:03:00.504Z\",\n    \"track\": \"backend\",\n    \"github_file_url\": \"https://github.com/username/repo/blob/main/file_name.ext\",\n    \"github_repo_url\": \"https://github.com/username/repo\",\n    \"status_code\": 200\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclifftech123%2Fhng-backend-task-one","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclifftech123%2Fhng-backend-task-one","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclifftech123%2Fhng-backend-task-one/lists"}