If you want to use a Gmail account with your Nodemailer module to send mail from a Node server, you’ll find it’s not the most intuitive. Some tutorials will instruct you to disable the security features to get the Gmail account to play nice with Nodemodule. This isn’t ideal since you don’t want to compromise the security of your account. You could just make a dummy email with a password unique from your other accounts, but why do that when you can go about this the secure way with OAuth2?

I’m going to assume you know how to set up your front end — if you don’t there’s plenty of resources out there for you to get started. I made a simple form using React with an onHandleChange function that sets my state to the data coming in from the form. Here’s an example of items you make want to keep track of from your…

GraphQL is a popular query language for querying specific information stored in a database. Although it is a powerful tool for cross-directional data flow, a disadvantage for some people would be GraphQL’s lack of built-in caching. Fortunately, there are some well-known options available for developers who need caching for their GraphQL-driven product.

Built by Facebook, Relay is designed to be performant and highly scalable. It’s a good choice for developers looking for a way to ensure that components have the data they need quickly. Relay’s scaling capabilities are obvious because it is designed for Facebook.com, which is a treasure trove of data. Or you can go with Apollo, which is a spec-compliant GraphQL server and client that can work in isolation or in addition to an existing Node.js middleware or client-side framework. Apollo is easy to get started with and has been embraced by the GraphQL community. …


Elizabeth Lotto

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store