Modulus is a platform-as-a-service (PaaS) that allows you to easily host, deploy, scale, and monitor your Node.js applications. The Modulus platform is ideally suited for developers who are building real-time mobile, SaaS, social, and big data apps that run across distributed devices and require built-in performance monitoring and powerful analytics.
Modulus is offered both as a hosted service and can be deployed by enterprises in public, private, and hybrid clouds as well as on-premise. For the enterprise, Modulus provides a unique offering with a licensed enterprise Node.js PaaS, allowing businesses and ISVs to deploy next-generation apps faster and at a lower total cost.
Benefits of Partnership
With SendGrid powering email for applications on the Modulus platform, developers will now be able to deploy their app and easily deliver email into the inbox without needing to set up and manage their own SMTP servers or worry about delivery rates, spam folders, ISP blacklists, or scaling to meet high user volume – all resulting in more time available to create and scale their awesome applications.
To run this app on Modulus follow the next steps:
1) Install the Modulus CLI tool if you do not already have it:
2) Log in with Modulus credentials or with your github credentials:
3) Clone the sample app repo on your local dev environment.
4) Create a new project and deploy it on Modulus.io
5) Provision the SendGrid Addon
When the addon is provisioned, the environment of the project is modified to include the following variables: SENDGRID_USERNAME, SENDGRID_PASSWORD
In addition to Free, other SendGrid plans are available for provision:
6) Deploy the application to Modulus.io:
After deploy, you can see the app on modulus interface:
7) Access the URL provided at the end of the deploy process:
[✓] sendgrid_sample_app running at sendgrid_sample_app-xxxx.onmodulus.net
And you should see this form:
Now you can test sending and email.
Your SendGrid credentials are taken automatically from the environment parameters:
Your message will be sent, waiting for you to open it.
This basic tutorial shows you how simple it is to incorporate SendGrid email into your application. As a next step, start building email into your own awesome node.js application on Modulus.io.
Getting started is simple. Sign up now with a free SendGrid account and $15 Free Modulus Credits.