{"id":21952016,"url":"https://github.com/systangotechnologies/serverless-ruby-simple-sms","last_synced_at":"2025-07-14T19:38:42.054Z","repository":{"id":40228498,"uuid":"186603155","full_name":"SystangoTechnologies/serverless-ruby-simple-sms","owner":"SystangoTechnologies","description":"Simple application to create Serverless SMS service using jets framework of Ruby.","archived":false,"fork":false,"pushed_at":"2023-01-20T06:54:59.000Z","size":34,"stargazers_count":68,"open_issues_count":13,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T21:51:12.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/SystangoTechnologies.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-05-14T10:52:35.000Z","updated_at":"2023-01-31T17:17:15.000Z","dependencies_parsed_at":"2023-01-28T20:00:49.393Z","dependency_job_id":null,"html_url":"https://github.com/SystangoTechnologies/serverless-ruby-simple-sms","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/SystangoTechnologies%2Fserverless-ruby-simple-sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystangoTechnologies%2Fserverless-ruby-simple-sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystangoTechnologies%2Fserverless-ruby-simple-sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SystangoTechnologies%2Fserverless-ruby-simple-sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SystangoTechnologies","download_url":"https://codeload.github.com/SystangoTechnologies/serverless-ruby-simple-sms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366701,"owners_count":21418769,"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-29T06:19:08.789Z","updated_at":"2025-04-23T04:02:14.423Z","avatar_url":"https://github.com/SystangoTechnologies.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless SMS Service\nThis is a simple serverless application build over Jets framework of the ruby. The application illustrates how we can create a simple serverless sms service using jets framework.\n## Requirements\n* RVM\n* Ruby(2.5.1)\n* AWS CLI\n## Setup\n\n### Step 1 - Install RVM\n* Follow the steps given here: https://rvm.io/rvm/install, to install RVM in your machines\n\n### Step 2 - Install Ruby\nTo install ruby(2.5.1) in your machine, run following command\n```sh\n$ rvm install ruby-2.5.1\n```\n### Step 3 - Install \u0026 Configure AWS\n```sh\n$ sudo apt install awscli\n$ aws configure\n```\n### Step 4 - Take clone of the repository\n\n```ruby_on_rails\n$ git clone https://github.com/SystangoTechnologies/serverless-ruby-simple-sms.git\n$ cd serverless-ruby-simple-sms\n$ bundle install\n```\n### Step 5 - Run Application\n\nTo start your the jets server locally, you need to run\n\n```ruby_on_rails\n$ jets s\n```\nYour Service must be running on http://localhost:8888.\n\nTo send a SMS, you can hit the following endpoint as a POST request.\n\n```ruby_on_rails\n$ curl -X POST \\\n  http://localhost:8888/send_sms \\\n  -H 'Authorization: {YOUR AUTHORIZATION KEY}' \\\n  -H 'Content-Type: application/json' \\\n  -H 'cache-control: no-cache' \\\n  -d '{\"numbers\": [\"91XXXXXXXX\", \"91XXXXXXXX\"],\"message\": \"HI\"}'\n```\n\nThe required parameters in the request are :\n* **numbers** [array] : Array of numbers to whom message is to be sent.\n* **message** [string] : Message that is to be sent in SMS.\n\n## Deployment\nTo deploy your application to AWS, you need to just run single command\n\n```ruby_on_rails\n$ jets deploy production\n```\n\nOnce the application is deployed you will get the API endpoint using which you can access Live API.\n\n## Security\n\nOnce API gateway is created, you must setup Usage plan along with their API Keys form API gateway console. For this, you can follow the [official doc](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-setup-api-key-with-console.html) for the same given by AWS.\n\nIf you want a custom authorization instead of this, just comment out the **before_filter:authorize** line in application.rb to make custom authorization work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystangotechnologies%2Fserverless-ruby-simple-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystangotechnologies%2Fserverless-ruby-simple-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystangotechnologies%2Fserverless-ruby-simple-sms/lists"}