{"id":19304577,"url":"https://github.com/divy9881/fetch-backend","last_synced_at":"2025-10-05T04:17:54.388Z","repository":{"id":197144425,"uuid":"697510333","full_name":"divy9881/fetch-backend","owner":"divy9881","description":"Fetch-backend: Home Assignment API implementation","archived":false,"fork":false,"pushed_at":"2023-09-29T04:52:46.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T18:04:20.943Z","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/divy9881.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}},"created_at":"2023-09-27T22:04:24.000Z","updated_at":"2023-09-28T04:08:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"36f30803-e6c7-47a8-b4f2-a469c2c5c130","html_url":"https://github.com/divy9881/fetch-backend","commit_stats":null,"previous_names":["divy9881/fetch-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/divy9881/fetch-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divy9881%2Ffetch-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divy9881%2Ffetch-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divy9881%2Ffetch-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divy9881%2Ffetch-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divy9881","download_url":"https://codeload.github.com/divy9881/fetch-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divy9881%2Ffetch-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278407112,"owners_count":25981757,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T23:30:17.576Z","updated_at":"2025-10-05T04:17:54.361Z","avatar_url":"https://github.com/divy9881.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fetch-backend\nFetch-backend: Home Assignment API implementation\n\n## Setup\n```\n# Pull the repository to the local machine\n$ git clone https://github.com/divy9881/fetch-backend\n\n# Change directory to the fetch-backend\n$ cd ./fetch-backend\n\n# Install npm(node package manager) dependencies\n$ npm install\n\n# Start the API server\n$ npm run app\n```\n\n## File tree\n\n- **app.js** - Main API server entry file and the logic of the server\n- **json-store** - Used by the API server to persist the payer transactions to the disk. Can be thought of as a data store or a file-based database\n- **package.json** - Used by npm(node package manager) to keep track of external dependencies and to create automated scripts\n- **.gitignore** - To ignore node dependency directory and other beefy files, so as to not take up much git storage space\n\n## Code specification\n- The API server is built in Node.js, Express MVC framework\n- The code comments are being used to document and describe the logic behind the code\n- For the sake of simplicity, the API server uses a file-based datastore to store the user transactions, so as to avoid lengthy setups required by fully-featured databases like MySQL, MongoDB, etc\n\n## API endpoint testing on Postman\nThe code repository was tested against REST API requests. The requests can be found on the [Postman](https://famstar.postman.co/workspace/Famstar~1f61ba51-e89e-4175-8dc6-97e87ac306fb/collection/9794862-0ecff37b-4f22-4318-a21a-4f5987333585?action=share\u0026creator=9794862).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivy9881%2Ffetch-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivy9881%2Ffetch-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivy9881%2Ffetch-backend/lists"}