This project was bootstrapped with Create React App. Please read the instructions there for how-tos and troubleshooting.
- react-router-dom
- react-redux
- react-router-redux
- redux
- react-scripts-ts
- history
- redux-devtools-extension
- axios
- node-sass-chokidar (for SASS support)
- npm-run-all (for SASS support)
- normalize-url
- string-url-extractor
- react-spinners
- redux-form
- Clone the repo
- Go to
/node_modules/webpack-dev-server/ssl/
- Create a file
server.pem
or runnpm 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
- Create a file
- Go to
/.env
- Update all the tokens and parameters you wish. All of them are self explanatory
- Run
npm start
to test it out!
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)