{"id":16750930,"url":"https://github.com/dvinciguerra/ruby-microservices","last_synced_at":"2025-04-10T15:38:33.909Z","repository":{"id":40531568,"uuid":"211491988","full_name":"dvinciguerra/ruby-microservices","owner":"dvinciguerra","description":"Ruby simple microservices project made using sinatra","archived":false,"fork":false,"pushed_at":"2024-11-18T20:47:26.000Z","size":31,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T23:42:04.447Z","etag":null,"topics":["example-app","microservices","ruby"],"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/dvinciguerra.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-09-28T11:45:37.000Z","updated_at":"2024-03-19T23:21:11.000Z","dependencies_parsed_at":"2024-03-20T14:03:19.821Z","dependency_job_id":null,"html_url":"https://github.com/dvinciguerra/ruby-microservices","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/dvinciguerra%2Fruby-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvinciguerra%2Fruby-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvinciguerra%2Fruby-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvinciguerra%2Fruby-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvinciguerra","download_url":"https://codeload.github.com/dvinciguerra/ruby-microservices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243482,"owners_count":21071054,"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":["example-app","microservices","ruby"],"created_at":"2024-10-13T02:42:39.597Z","updated_at":"2025-04-10T15:38:33.876Z","avatar_url":"https://github.com/dvinciguerra.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Ruby Microservices\n\n\n## Using the services\n\n### Auth\n\n#### POST /v1/auth\n\nCommand:\n\n```\ncurl -XPOST \"http://localhost:3001/v1/auth\" -d $'{ \\\n  \"email\": \"eminetto@gmail.com\", \\\n  \"password\": \"1234567\" \\\n}'\n```\n\nResult Example:\n\n```json\n{\n  \"token\": \"Authorization:eyJhbGciOiJIUzI1NiJ9.eyJpZCI6IjFiYmFlY2Q3LTBhOWUtNGY1NS1iMjVjLTYyMTc0ODYxNWZiZSIsImVtYWlsIjoiZGV2QGV4YW1wbGUub3JnIiwicGFzc3dvcmQiOiJ0ZXN0In0.6nYYTW_vsd6CbPttyEXqlz1kdCAiceqUy3j4RvtNQI4\"\n}\n```\n\n### Services\n\n#### POST /v1/services\n\nCommand:\n\n```\ncurl -XPOST \"http://localhost:3002/v1/services\" \\\n  -H 'Authorization:eyJhbGciOiJIUzI1NiJ9.eyJpZCI6IjFiYmFlY2Q3LTBhOWUtNGY1NS1iMjVjLTYyMTc0ODYxNWZiZSIsImVtYWlsIjoiZGV2QGV4YW1wbGUub3JnIiwicGFzc3dvcmQiOiJ0ZXN0In0.6nYYTW_vsd6CbPttyEXqlz1kdCAiceqUy3j4RvtNQI4' \\\n  -d $'{ \\\n\t\t\"type\": \"compute\", \\\n\t\t\"size\":\"micro 2x\", \\\n\t\t\"preferences\":{ \\\n\t\t\t\"storage\":{ \\\n\t\t\t\t\"type\":\"ssd\", \\\n\t\t\t\t\"size\":\"512G\" \\\n\t\t\t} \\\n\t\t} \\\n\t}'\n```\n\nResult Example:\n\n```json\n{\n\t\"type\":\"compute\",\n\t\"size\":\"micro 2x\",\n\t\"preferences\": {\n\t\t\"storage\": {\n\t\t\t\"type\":\"ssd\",\n\t\t\t\"size\":\"512G\"\n\t\t}\n\t}\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvinciguerra%2Fruby-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvinciguerra%2Fruby-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvinciguerra%2Fruby-microservices/lists"}