Skip to content

AksimO/serverless-messaging-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless messaging service

Pre-requisitions

  • Make sure you have serverless installed.
  • aws credentials configured

Build

npm install
npm run build

Issues

Bug in plugin serverless-aws-documentation doesn't let to build project first time.

Workaround: Build without plugin. Enable plugin and build again.

How to use

Send email

curl -X POST \
https://<domain>/emails \
-H 'Content-Type: application/json' \
-d '{ "recipient":"noreplay@example.com", "body": "Hello world", subject: "Test" }'

Send sms

curl -X POST \
https://<domain>/sms \
-H 'Content-Type: application/json' \
-d '{ "recipient":"+31..", "text": "Update your application"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published