{"id":15882620,"url":"https://github.com/yoeight/shoes-app","last_synced_at":"2025-04-02T05:44:08.718Z","repository":{"id":14165710,"uuid":"16871708","full_name":"YoEight/shoes-app","owner":"YoEight","description":null,"archived":false,"fork":false,"pushed_at":"2014-02-15T21:47:41.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T21:59:51.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YoEight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-15T21:01:16.000Z","updated_at":"2017-03-12T01:04:06.000Z","dependencies_parsed_at":"2022-09-23T20:01:30.193Z","dependency_job_id":null,"html_url":"https://github.com/YoEight/shoes-app","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/YoEight%2Fshoes-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoEight%2Fshoes-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoEight%2Fshoes-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoEight%2Fshoes-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YoEight","download_url":"https://codeload.github.com/YoEight/shoes-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763861,"owners_count":20829798,"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-06T04:05:43.227Z","updated_at":"2025-04-02T05:44:08.684Z","avatar_url":"https://github.com/YoEight.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"shoes-app\n=========\n\nInstallation\n------------\n\n```\n$ cabal sandbox init\n$ cabal install --only-dependencies\n$ cabal configure\n$ cabal install\n```\n\nRun\n---\n\n```\n$ .cabal-sandbox/bin/shoes Development\n```\n\nServer is reachable at http://localhost:3000\n\nRESTful API\n-----------\n\n```\nPOST /shoes (lib/Shoes.hs:postNewShoesR)\n-- Create a shoes entry using json data supplied as request body\n-- { \"description\": {shoes description :: String}\n-- , \"color\"      : {shoes color :: String}\n-- , \"size\"       : {shoes size :: String}\n-- , \"photo\"      : {shoes photo. Base64 encoded :: String}\n-- }\n\nGET /shoes/{shoes-id :: Number} (lib/Shoes.hs:getShoesR)\n-- Get a shoe as an HTML page listing the shoe details\n-- HTML:\n-- \u003cdiv\u003e\n--     \u003cimg src={shoes photo location} /\u003e\n--     \u003cdiv\u003e#{shoes description}\u003c/div\u003e\n--     \u003cdiv\u003e#{shoes color}\u003c/div\u003e\n--     \u003cdiv\u003e#{shoes size}\u003c/div\u003e\n-- \u003c/div\u003e\n\nGET /shoes_list (lib/Shoes.hs:getShoesListR)\n-- Get a list of shoes as an HTML page with hyperlinks to all available shoes\n-- HTML:\n-- \u003ca href={shoes location}\u003e{shoes id}\u003c/a\u003e\n--                    .\n--                    .\n--                    .\n```\n\nDatabase\n--------\n\nServer uses a SQLite backend which is automatically created and initialized at first run\n\nPhoto directory\n---------------\n\nServer uses a directory to store shoes photos. This setting is in config/app.cfg. Make sure that directory\nexists before starting Server. (Default photo dir is ./repo/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoeight%2Fshoes-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoeight%2Fshoes-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoeight%2Fshoes-app/lists"}