{"id":24782106,"url":"https://github.com/sccsmartcode/hng-stage0-backend-api","last_synced_at":"2026-05-01T01:32:16.800Z","repository":{"id":274731130,"uuid":"923850999","full_name":"SCCSMARTCODE/hng-stage0-backend-api","owner":"SCCSMARTCODE","description":"A simple public API for HNG Stage 0 Backend Task. It returns my registered email, the current UTC datetime, and the GitHub repository URL in JSON format. Built with FastAPI and deployed for public access.","archived":false,"fork":false,"pushed_at":"2025-01-29T02:49:33.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T03:23:12.891Z","etag":null,"topics":["backend-api","fastapi","hng-internship","hng-stage0","public-api","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SCCSMARTCODE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-28T23:42:10.000Z","updated_at":"2025-01-29T02:49:36.000Z","dependencies_parsed_at":"2025-01-29T03:23:14.910Z","dependency_job_id":"cb9cdc7e-f305-4601-af55-9be399a8088f","html_url":"https://github.com/SCCSMARTCODE/hng-stage0-backend-api","commit_stats":null,"previous_names":["sccsmartcode/hng-stage0-backend-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCCSMARTCODE%2Fhng-stage0-backend-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCCSMARTCODE%2Fhng-stage0-backend-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCCSMARTCODE%2Fhng-stage0-backend-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SCCSMARTCODE%2Fhng-stage0-backend-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SCCSMARTCODE","download_url":"https://codeload.github.com/SCCSMARTCODE/hng-stage0-backend-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245214192,"owners_count":20578761,"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":["backend-api","fastapi","hng-internship","hng-stage0","public-api","python"],"created_at":"2025-01-29T11:16:05.673Z","updated_at":"2026-05-01T01:32:16.763Z","avatar_url":"https://github.com/SCCSMARTCODE.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HNG Stage 0 Backend API\n\nThis is a simple public API developed as part of the HNG Stage 0 task. The API provides basic information such as the registered email, current date and time in ISO 8601 format, and the GitHub repository URL.\n\n## Features\n- Returns email, current UTC datetime, and GitHub repository URL in JSON format.\n- Deployed to a publicly accessible endpoint.\n- CORS handling enabled for cross-origin requests.\n- Fast response time (\u003c500ms).\n\n## Live API Endpoint\n[https://hng-stage0-backend-api-94ho.vercel.app/](https://hng-stage0-backend-api-94ho.vercel.app/)\n\n## Technologies Used\n- **Programming Language**: Python\n- **Framework**: FastAPI\n- **Deployment**: Vercel\n\n## API Documentation\n### **GET /**\nReturns basic information in JSON format.\n\n#### **Request**\n```http\nGET https://hng-stage0-backend-api-94ho.vercel.app/\n```\n\n#### **Response Format**\n```json\n{\n  \"email\": \"sccsmartcode@gmail.com\",\n  \"current_datetime\": \"2025-01-29T21:15:30.123456Z\",\n  \"github_url\": \"https://github.com/SCCSMARTCODE/hng-stage0-backend-api\"\n}\n```\n\n## Setup Instructions\n### **Clone the Repository**\n```sh\ngit clone https://github.com/SCCSMARTCODE/hng-stage0-backend-api.git\ncd hng-stage0-backend-api\n```\n\n### **Install Dependencies**\nEnsure you have Python installed, then install required dependencies:\n```sh\npip install -r requirements.txt\n```\n\n### **Run the Application Locally**\n```sh\npython app.py\n```\n\n### **Test Locally**\nOnce running, open your browser or use Postman to access:\n```http\nhttp://127.0.0.1:8001/\n```\n\n## Deployment\nThis project is deployed on **Vercel**. To deploy manually:\n1. Install Vercel CLI:\n   ```sh\n   npm install -g vercel\n   ```\n2. Deploy the project:\n   ```sh\n   vercel\n   ```\n\n## Hiring Links\nLooking for backend developers? Check out:\n- [Python Developers](https://hng.tech/hire/python-developers)\n- [C# Developers](https://hng.tech/hire/csharp-developers)\n- [Golang Developers](https://hng.tech/hire/golang-developers)\n- [PHP Developers](https://hng.tech/hire/php-developers)\n- [Java Developers](https://hng.tech/hire/java-developers)\n- [Node.js Developers](https://hng.tech/hire/nodejs-developers)\n\n## License\nThis project is open-source and available under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsccsmartcode%2Fhng-stage0-backend-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsccsmartcode%2Fhng-stage0-backend-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsccsmartcode%2Fhng-stage0-backend-api/lists"}