{"id":18984481,"url":"https://github.com/danwakeem/shopping-api","last_synced_at":"2025-07-12T20:08:45.939Z","repository":{"id":48032625,"uuid":"140094169","full_name":"Danwakeem/shopping-api","owner":"Danwakeem","description":"Serverless shopping api","archived":false,"fork":false,"pushed_at":"2023-01-25T19:51:03.000Z","size":961,"stargazers_count":0,"open_issues_count":15,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T12:22:42.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Danwakeem.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}},"created_at":"2018-07-07T15:09:03.000Z","updated_at":"2020-12-30T17:28:46.000Z","dependencies_parsed_at":"2023-02-14T10:45:36.821Z","dependency_job_id":null,"html_url":"https://github.com/Danwakeem/shopping-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fshopping-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fshopping-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fshopping-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fshopping-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Danwakeem","download_url":"https://codeload.github.com/Danwakeem/shopping-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239993879,"owners_count":19730778,"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-08T16:21:42.903Z","updated_at":"2025-02-21T09:45:21.456Z","avatar_url":"https://github.com/Danwakeem.png","language":"JavaScript","readme":"# Shopping API Serverless\n\nTrying to convert my estimate API to a serverless API.\n\n## Build\nNothing is needed except `npm i`\n\n## Test\nRun `npm test`\nor `npm test:watch`\n\n## Config\nThere is a config file for `env` params in my dropbox :)\n\n## API definition\nThere is an API definition file in my dropbox :)\n\n## Deploy\nThese have all been updated to node.js 12 in IBM but not locally :)\n\nTo login to IBM CLI\n\n```\nibmcloud login\n```\n\nTo login to org/space\n\n```\nibmcloud target ibmcloud target -o danwakeem@gmail.com -s Shopping\n```\n\nTo deploy update API\n\n```\nibmcloud fn action update \"shopping/updateById\" build/PUT/id.zip --kind nodejs:12 -t 300000\n```\n\n\n## TODO\n* [x] Convert Loopback Mongo Query generator to function\n* [x] GET: by userId\n* [x] GET: by ID\n* [x] DELETE: by Id \n* [x] PUT: Update by ID\n* [x] PUT: Update by ID (shared)\n* [x] POST: Create list\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwakeem%2Fshopping-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanwakeem%2Fshopping-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwakeem%2Fshopping-api/lists"}