https://github.com/devgurusio/aws-sendgrid-commercetools-connector
Sendgrid commercetools connector to be deployed on AWS using serverless
https://github.com/devgurusio/aws-sendgrid-commercetools-connector
Last synced: 14 days ago
JSON representation
Sendgrid commercetools connector to be deployed on AWS using serverless
- Host: GitHub
- URL: https://github.com/devgurusio/aws-sendgrid-commercetools-connector
- Owner: Devgurusio
- License: mit
- Created: 2018-07-31T10:21:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T14:20:18.000Z (over 7 years ago)
- Last Synced: 2025-10-20T02:45:58.795Z (7 months ago)
- Language: JavaScript
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sendgrid commercetools serverless for AWS
[](https://circleci.com/gh/DevgurusSupport/aws-sendgrid-commercetools-connector/tree/master)
[](https://coveralls.io/github/DevgurusSupport/aws-sendgrid-commercetools-connector?branch=master)
[](https://opensource.org/licenses/MIT)
Thse sendgrid commercetools serverless connector for AWS, allows you to quickly deploy a cloud service to manage your emails in Sendgrid based on commercetools messaging and subscriptions.
### Requirements
- [Install the Serverless Framework](https://serverless.com/framework/docs/providers/aws/guide/installation/)
- [Configure your AWS CLI](https://serverless.com/framework/docs/providers/aws/guide/credentials/)
### Installation
Install the Node.js packages
``` bash
$ npm install
```
### Usage
To run unit tests on your local
``` bash
$ npm test
```
To run the function on your local (this will require passing a message in the event)
``` bash
$ serverless invoke local --function lambda
```
We use Jest to run our tests. You can read more about setting up your tests [here](https://facebook.github.io/jest/docs/en/getting-started.html#content).
Deploy your project
``` bash
$ serverless deploy
```
Deploy a single function
``` bash
$ serverless deploy function --function lambda
```
Once deployed, follow the instructions to set up your commercetools subscription to use this connector [here](https://docs.commercetools.com/http-api-projects-subscriptions.html)