{"id":18796410,"url":"https://github.com/ankitkataria/simple-rack","last_synced_at":"2025-04-13T15:42:50.315Z","repository":{"id":39685504,"uuid":"279258445","full_name":"ankitkataria/simple-rack","owner":"ankitkataria","description":"A simple rack application to convert numerical values to words","archived":false,"fork":false,"pushed_at":"2023-01-18T21:50:59.000Z","size":14,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T06:44:52.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/ankitkataria.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":"2020-07-13T09:32:47.000Z","updated_at":"2020-07-14T05:59:25.000Z","dependencies_parsed_at":"2023-02-10T18:15:31.714Z","dependency_job_id":null,"html_url":"https://github.com/ankitkataria/simple-rack","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/ankitkataria%2Fsimple-rack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitkataria%2Fsimple-rack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitkataria%2Fsimple-rack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitkataria%2Fsimple-rack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankitkataria","download_url":"https://codeload.github.com/ankitkataria/simple-rack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248740221,"owners_count":21154248,"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-07T21:39:55.380Z","updated_at":"2025-04-13T15:42:50.289Z","avatar_url":"https://github.com/ankitkataria.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Rack\n\n\u003e A [rack](https://github.com/rack/rack) application to convert numerical values to words\n\nA simple rack-application built with the help of [hanami/controller](https://github.com/hanami/controller) and [hanami/router](https://github.com/hanami/router). The application is modelled around MVC approach with a directory stucture inspired from Rails.\n\n## Set Up\n\nBefore proceeding clone repo:\n\n```bash\n$ git clone git@github.com:ankitkataria/simple-rack.git\n$ cd ./simple-rack\n```\n\n### With Docker\n\n```bash\n$ docker build -t simple-rack .\n$ docker run -p 3001:3001 -it simple-rack\n```\n\n### Without Docker\n\n- Requirements\n    - `ruby 2.6.5`\n    - `bundler 2.1.4`\n\n```bash\n$ bundle install\n$ bundle exec rackup --port 3001 config.ru\n```\n\n## Sample cURL\n\n```bash\n$ curl http://localhost:3001/identity -X GET\n\n# {\"server_name\":\"Ankit Kataria\"}\n\n$ curl http://localhost:3001/convert -X POST \\\n    -H 'content-type: application/json' \\\n    -d '{\"value\": 1729}'\n\n# {\"value\":1729,\"value_in_words\":\"one thousand seven hundred twenty nine\"\n```\n\n## Development\n\nRun linter and appropriate specs before opening a pull request.\n\n### Running linter and tests\n\n```bash\n# Run rubocop\n$ bundle exec rubocop\n\n# Run rspec\n$ bundle exec rspec --format documentation\n```\n\n## Licence\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitkataria%2Fsimple-rack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankitkataria%2Fsimple-rack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitkataria%2Fsimple-rack/lists"}