{"id":24838706,"url":"https://github.com/nanafox/hng-stage-zero-api","last_synced_at":"2025-09-01T19:36:54.501Z","repository":{"id":274853344,"uuid":"924273393","full_name":"nanafox/hng-stage-zero-api","owner":"nanafox","description":"A Basic API Project for HNG 12 Stage zero.","archived":false,"fork":false,"pushed_at":"2025-01-29T19:23:33.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T19:27:54.051Z","etag":null,"topics":["api","backend"],"latest_commit_sha":null,"homepage":"https://nanafox-hng-stage-zero-6049d997f8d2.herokuapp.com/docs","language":"Python","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/nanafox.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":"2025-01-29T18:03:14.000Z","updated_at":"2025-01-29T19:24:47.000Z","dependencies_parsed_at":"2025-01-29T19:28:01.966Z","dependency_job_id":"e477787d-f08b-46c2-8d63-da2a56c6c6d8","html_url":"https://github.com/nanafox/hng-stage-zero-api","commit_stats":null,"previous_names":["nanafox/hng-stage-zero-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fhng-stage-zero-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fhng-stage-zero-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fhng-stage-zero-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fhng-stage-zero-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanafox","download_url":"https://codeload.github.com/nanafox/hng-stage-zero-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245586953,"owners_count":20639862,"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":["api","backend"],"created_at":"2025-01-31T06:21:31.389Z","updated_at":"2025-03-26T04:24:46.532Z","avatar_url":"https://github.com/nanafox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HNG Stage Zero Task\n\n## Task Description\n\nDevelop a public API that returns the following information in JSON format:\n\n1. **Your registered email address** (used to register on the HNG12 Slack workspace).\n2. **The current datetime** as an ISO 8601 formatted timestamp.\n3. **The GitHub URL** of the project's codebase.\n\n## API Specification\n\n- Documentation URL:\n[https://nanafox-hng-stage-zero-6049d997f8d2.herokuapp.com/docs](https://nanafox-hng-stage-zero-6049d997f8d2.herokuapp.com/docs)\n- Swagger (Interactive Docs) URL:\n[https://nanafox-hng-stage-zero-6049d997f8d2.herokuapp.com/swagger-doc](https://nanafox-hng-stage-zero-6049d997f8d2.herokuapp.com/swagger-doc)\n- Endpoint: [https://nanafox-hng-stage-zero-6049d997f8d2.herokuapp.com](https://nanafox-hng-stage-zero-6049d997f8d2.herokuapp.com)\n- Response:\n\n    ```json\n    {\n        \"email\": \"myemail@example.com\",\n        \"current_datetime\": \"2025-01-01T10:00:00Z\",\n        \"github_url\": \"https://github.com/nanafox/hng-stage-zero-api\"\n    }\n    ```\n\n## Development\n\nTo run this project locally, follow the steps below:\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/nanafox/hng-stage-zero-api.git\n    ```\n\n2. Change directory:\n\n    ```bash\n    cd hng-stage-zero-api\n    ```\n\n3. Install dependencies (it is recommended to create a virtual environment):\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. Set the required variables in the `env` file. See `.env.template` for how to\n   set it up.\n\n5. Run the application:\n\n    ```bash\n    fastapi dev app/main.py\n    ```\n\n6. Access the swagger documentation at [http://localhost:8000/swagger-doc](http://localhost:8000/swagger-doc)\n\n7. API Documentation is available at:\n   [http://localhost:8000/docs](http://localhost:8000/docs)\n\n## Language Stack\n\nBacklink: [https://hng.tech/hire/python-developers](https://hng.tech/hire/python-developers)\n\n- Python\n- FastAPI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanafox%2Fhng-stage-zero-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanafox%2Fhng-stage-zero-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanafox%2Fhng-stage-zero-api/lists"}