{"id":15544839,"url":"https://github.com/thetonymaster/coffeboy","last_synced_at":"2025-03-29T00:41:45.050Z","repository":{"id":25723629,"uuid":"29160650","full_name":"thetonymaster/coffeboy","owner":"thetonymaster","description":null,"archived":false,"fork":false,"pushed_at":"2015-01-20T23:01:35.000Z","size":1316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-02T12:41:14.685Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/thetonymaster.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":"2015-01-12T22:37:20.000Z","updated_at":"2015-01-20T23:01:35.000Z","dependencies_parsed_at":"2022-08-23T10:50:07.473Z","dependency_job_id":null,"html_url":"https://github.com/thetonymaster/coffeboy","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/thetonymaster%2Fcoffeboy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetonymaster%2Fcoffeboy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetonymaster%2Fcoffeboy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetonymaster%2Fcoffeboy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thetonymaster","download_url":"https://codeload.github.com/thetonymaster/coffeboy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122244,"owners_count":20726822,"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-10-02T12:40:31.992Z","updated_at":"2025-03-29T00:41:45.032Z","avatar_url":"https://github.com/thetonymaster.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coffeboy\n\n##Setup\nFirst you should have a file structure like this: ````$GOPATH/src/github.com/crowdint```` then clone this repo inside the ````crowdint```` folder.\n\nThen get the godeps package ````go get github.com/tools/godep````.\n\nOnce downloaded, you should add the the bin folder to your PATH in your .bashrc file or equivalent:\n````export PATH=$PATH:$GOPATH/bin````, and then reload or open a new terminal.\n\nNow you will be able to run ````godep restore```` to download all the depndencies.\n\n##Examples\n\n###Orders\nCreate\n\n    curl -i -X POST http://coffeboy.herokuapp.com/order --data-binary '{  \n       \"id\":\"R9999\",\n       \"user_id\":1,\n       \"created_at\":\"\",\n       \"updated_at\":\"\",\n       \"completed_at\":\"\",\n       \"email\":\"\",\n       \"total_quantity\":\"\",\n       \"line_items\":[  \n          {  \n             \"variant_id\":\"1\",\n            \"quantity\":10\n          },\n          {  \n             \"variant_id\":\"2\",\n             \"quantity\":20\n          }\n       ]\n    }'\n\nGet\n\n    curl -i http://coffeboy.herokuapp.com/order/R9999\n    \nUpdate\n\n    curl -i -X PUT http://coffeboy.herokuapp.com/order/R9999 --data-binary '{  \n       \"id\":\"R9999\",\n       \"user_id\":1,\n       \"created_at\":\"\",\n       \"updated_at\":\"\",\n       \"completed_at\":\"\",\n       \"email\":\"someemail@email.com\",\n       \"total_quantity\":\"\",\n       \"line_items\":[  \n          {  \n             \"variant_id\":\"1\",\n             \"quantity\":10\n          },\n          {  \n             \"variant_id\":\"2\",\n             \"quantity\":20\n          }\n       ]\n    }'\n    \nDelete\n\n    curl -i -X DELETE http://coffeboy.herokuapp.com/order/R9999\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetonymaster%2Fcoffeboy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthetonymaster%2Fcoffeboy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetonymaster%2Fcoffeboy/lists"}