pash90 / send-sms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was bootstrapped with Create React App. Please read the instructions there for how-tos and troubleshooting.

Dependencies

Get Started

  1. Clone the repo
  2. Go to /node_modules/webpack-dev-server/ssl/
    • Create a file server.pem or run npm start to have it auto generated.
    • Copy in the credentials from any valid SSL certificate and key. This step is important since all the APIs require HTTPS connections
    • Stop the local server
  3. Go to /.env
    • Update all the tokens and parameters you wish. All of them are self explanatory
  4. Run npm start to test it out!

Important

This project uses Firebase Functions to get around the CORS for the BurstSMS API. Although not secure(since a user can see the API tokens), it satisfies the requirement of configurable tokens.

All the tokens required are set in the .env file and they are ones used for data. No token/parameter is hard coded in this project.

FYI : I could've added .env file to .gitignore but BurstSMS credentials are temporary and the Bitly Access Token is a generic token(and free)

About


Languages

Language:TypeScript 74.0%Language:HTML 10.8%Language:CSS 9.1%Language:JavaScript 6.1%