{"id":27439420,"url":"https://github.com/andrewjprice/auction","last_synced_at":"2026-05-17T02:43:44.358Z","repository":{"id":40531976,"uuid":"203634459","full_name":"andrewjprice/auction","owner":"andrewjprice","description":"Sinatra API to add bids and calculate winner","archived":false,"fork":false,"pushed_at":"2023-01-20T04:33:14.000Z","size":13,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T21:59:14.433Z","etag":null,"topics":["ruby","sinatra"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/andrewjprice.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":"2019-08-21T17:38:47.000Z","updated_at":"2019-08-21T17:40:23.000Z","dependencies_parsed_at":"2023-02-11T23:45:53.927Z","dependency_job_id":null,"html_url":"https://github.com/andrewjprice/auction","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/andrewjprice%2Fauction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewjprice%2Fauction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewjprice%2Fauction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewjprice%2Fauction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewjprice","download_url":"https://codeload.github.com/andrewjprice/auction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968752,"owners_count":21191158,"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":["ruby","sinatra"],"created_at":"2025-04-14T21:59:19.505Z","updated_at":"2025-10-13T14:39:19.472Z","avatar_url":"https://github.com/andrewjprice.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup\nTo start application run:\nNote: If you want seeds, go to db/seeds.rb and uncomment/add before running `db:setup`\n\n```\nbundle install\nbundle exec rake db:migrate\nbundle exec rake db:setup\n```\n\n# Run\n\n```\nrackup config.ru\n```\n\n# Debug\n\n```\nbundle exec shotgun --server=thin --port=9292 config.ru\n```\n\n# Run Tests\n```\nbundle exec rspec spec/\n```\n\n# API Endpoints\n\nPOST /bids - create new bid\nRequired: \"start_bid\", \"max_bid\", \"auto_increment\"\n\n```\ncurl -i -X POST -H \"Content-Type: application/json\" -d'{\"name\": \"Andrew\", \"start_bid\": 2501, \"max_bid\": 3200, \"auto_increment\": 247}' http://localhost:9292/bids\n```\n\nGET /calculate - calculates winning bid and lowest winning amount\n\n```\ncurl http://localhost:9292/calculate\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjprice%2Fauction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjprice%2Fauction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjprice%2Fauction/lists"}