{"id":23151253,"url":"https://github.com/samsoft00/getir-restful-api-challenge","last_synced_at":"2025-07-03T18:33:59.966Z","repository":{"id":72745973,"uuid":"330411763","full_name":"samsoft00/getir-restful-api-challenge","owner":"samsoft00","description":"Develop restful api to fetch records within a timeframe","archived":false,"fork":false,"pushed_at":"2021-01-18T10:50:02.000Z","size":233,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T15:14:56.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/samsoft00.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":"2021-01-17T14:38:22.000Z","updated_at":"2021-01-19T00:22:04.000Z","dependencies_parsed_at":"2023-03-19T11:06:59.976Z","dependency_job_id":null,"html_url":"https://github.com/samsoft00/getir-restful-api-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samsoft00/getir-restful-api-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fgetir-restful-api-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fgetir-restful-api-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fgetir-restful-api-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fgetir-restful-api-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samsoft00","download_url":"https://codeload.github.com/samsoft00/getir-restful-api-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fgetir-restful-api-challenge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263379607,"owners_count":23457879,"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-12-17T18:32:02.278Z","updated_at":"2025-07-03T18:33:59.938Z","avatar_url":"https://github.com/samsoft00.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getir Restful Api Challenge\nDevelop restful api to fetch records within a date range\n\n## Requirements\n* The code should be written in Node.js using express framework ✅\n* The endpoint should just handle HTTP POST requests. ✅\n* The application should be deployed on AWS or Heroku. You don’t need to use any API Gateway, Load Balancers or any other layer than the developed application. ✅\n* The up to date repo should be publicly available in Github, Bitbucket or equivalent. ✅\n\n## Deliverables\n* Public repo URL: https://github.com/samsoft00/getir-restful-api-challenge.git\n* The public endpoint URL (POST): https://tranquil-reaches-53695.herokuapp.com/v1/getir-records\n\n## Local Setup\nTo setup on local machine, kindly run the following command.\n\n- `git clone https://github.com/samsoft00/getir-restful-api-challenge.git getir-sam-task`\n- `cd getir-sam-task`\n- `npm i`\n- `cp .env.example .env`\n- `npm run start:dev`\n\nNote: Before your run `npm run start:dev`, ensure you declare your environment variable in `.env` file.\n\n```\nPORT=8000 # port\nNODE_ENV= # dev or production\nMONGODB_URI = # getir-case-study MongoDb name\nMONGODB_NAME = # getir-case-study MongoDb URL\n```\n## Code Styling\nUsed \"JavaScript Standard Style\" for linter \u0026 automatic code fixer\nLink here -\u003e https://github.com/standard/standard\n\n## Test\n```\nnpm run test\n```\n![Getir test](https://github.com/samsoft00/getir-restful-api-challenge/blob/main/img/Screenshot2021-01-18.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsoft00%2Fgetir-restful-api-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamsoft00%2Fgetir-restful-api-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsoft00%2Fgetir-restful-api-challenge/lists"}