{"id":19774718,"url":"https://github.com/fazt/sms-node","last_synced_at":"2025-04-30T18:33:44.351Z","repository":{"id":49777745,"uuid":"257789049","full_name":"fazt/sms-node","owner":"fazt","description":"A SMS APP using Nodejs, Mongodb, Twilio, and Socket.io","archived":false,"fork":false,"pushed_at":"2020-04-22T04:24:04.000Z","size":81,"stargazers_count":32,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T07:47:04.024Z","etag":null,"topics":["mongodb","nodejs","socket-io","twilio"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/fazt.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":"2020-04-22T04:13:30.000Z","updated_at":"2024-01-08T04:10:12.000Z","dependencies_parsed_at":"2022-08-29T17:41:19.845Z","dependency_job_id":null,"html_url":"https://github.com/fazt/sms-node","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/fazt%2Fsms-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazt%2Fsms-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazt%2Fsms-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazt%2Fsms-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fazt","download_url":"https://codeload.github.com/fazt/sms-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224219441,"owners_count":17275477,"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":["mongodb","nodejs","socket-io","twilio"],"created_at":"2024-11-12T05:13:43.318Z","updated_at":"2024-11-12T05:13:44.017Z","avatar_url":"https://github.com/fazt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node SMS APP with Twilio\nthis is an simple example to send and recive SMS using Node, Twilio, Mongodb, and Socket.io\n![](./screenshot.png)\n\n# Required Software\n* Nodejs\n* Mongodb\n* ngrok (in development). Twilio needs a domain to reach our server.\n\n# Installation\nclone the repo\n```shell\ngit clone https://github.com/FaztTech/sms-node\ncd sms-node\n```\ncreate a file with the name `.env` in the root project with the following Environment variables:\n```text\nTWILIO_ACCOUNT_SID=\u003cYOUR TWILIO ACCOUNT SID\u003e\nTWILIO_AUTH_TOKEN=\u003cYOUR TWILIO AUTH TOKEN\u003e\nPHONE_NUMBER=\u003cTHE TRIAL PHONE NUMBER OF YOUR TWILIO PROJECT\u003e\n```\nthen execute:\n```shell\nnpm i\nnpm start # or npm run dev (to execute with nodemon)\n```\n\n# Environment variables\n* TWILIO_ACCOUNT_SID\n* TWILIO_AUTH_TOKEN\n* PHONE_NUMBER\n* PORT (optional)\n\n# Useful Resources\n* [Herok Patterns - Signal Pattern](https://www.heropatterns.com/)\n* ngrok\n* [Request body inbound Twilio SMS](https://www.twilio.com/docs/sms/twiml#twilios-request-to-your-application)\n* https://www.twilio.com/docs/usage/webhooks/sms-webhooks\n\n# Issues\n* https://stackoverflow.com/questions/59753149/express-handlebars-wont-render-data\n* https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access\n* https://stackoverflow.com/questions/59690923/handlebars-access-has-been-denied-to-resolve-the-property-from-because-it-is\n\n# TODO\n* [ ] add authentication\n* [ ] handle multiple sockets connection\n* [ ] integrate Docker \n* [ ] add tests\n* [ ] create a contact list\n* [ ] pick a user from the message history to send a message\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffazt%2Fsms-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffazt%2Fsms-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffazt%2Fsms-node/lists"}