Coder Social home page Coder Social logo

parse-server-sendgrid-adapter's Introduction

parse-server-sendgrid-adapter

Simple sendgrid adapter for parse server

Configuration

var express = require('express');
var ParseServer = require('parse-server').ParseServer;
var app = express();
var SimpleSendGridAdapter = require('parse-server-sendgrid-adapter');

// Specify the connection string for your mongodb database
// and the location to your Parse cloud code
var api = new ParseServer({
  databaseURI: 'mongodb://localhost:27017/dev',
  cloud: '/home/myApp/cloud/main.js', // Provide an absolute path
  appId: 'myAppId',
  masterKey: 'myMasterKey', // Keep this key secret!
  fileKey: 'optionalFileKey',
  serverURL: 'http://localhost:1337/parse', // Don't forget to change to https if needed
  appName: 'myAppName',
  publicServerURL: 'http://localhost:1337/parse',
  emailAdapter: SimpleSendGridAdapter({
    apiKey: 'sendgridApiKey',
    fromAddress: 'fromEmailAddress',
  })
});

// Serve the Parse API on the /parse URL prefix
app.use('/parse', api);

app.listen(1337, function() {
  console.log('parse-server-example running on port 1337.');
});

parse-server-sendgrid-adapter's People

Contributors

carmenlau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

parse-server-sendgrid-adapter's Issues

Enable HTML Body

We want to send html based emails to users. But this does not work. Can you please enable this.

Basic question regarding setup

I have installed parse-server-example & parse-dashboard successfully, they are are reachable on the web.

My question is, how do I "enable" email verification? The sendgrid adapter is installed, and have set up an account. "sendUserEmails" is set to true. The sendgrid options have an "API key" and "from email" set. I do not see anything in the dashboard (like it was on the old parse dashboard), to enable email verification. Does it happen automatically when an email is entered, or am I missing something?

Support for customizing email body

We have been using send grid for the parse server email notification and password resets. We would like to have the option to specify the email header/subject/body like how the mandrill adapter works. This would really help us stick to sendgrid and not migrate to other 3rd party solutions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.