Simple Sms Gateway Api
Api uses smsgateway.me to send messages using an Android device.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
To deploy to heroku you must create an app and push to master branch on heroku
git push heroku master
If app fails please check logs if you did not forget to set some environment variables. Seek in logs for messages like: [ExceptionHandler] Config validation error: "CORS_ENABLED" is required
At least you must enable cors
, set sms gateway token
and device id
.
More info you can find here: Deploying with Git