Total 68 Posts

Simple Sendgrid Example using Node

Here is a very simple example of how to create a simple Sendgrid app using NodeJS. Change directory into your node app. cd /name/of/node/app Install Sendgrid using Node Package Manager. npm i sendgrid Use your Sendgrid username and password to send an email. var sendgrid = require('sendgrid')

Anatomy of an Angular 2 App

Angular 2 is out and I'm currently working on a single web app hosted on Firebase. This will be a simple landing page website and if you come from Ruby on Rails or Express JS, you're probably familiar with command-line generators. Angular also welcomes command line generators to help you

Tools for App Makers

In order to build websites, apps or API's, every developer ultimately ends up curating a suite of tools that can help them build products better, cheaper and faster. Below are a few tools that I use all the time. API Development Postman - Google Chrome plug-in that helps you craft

AWS: Install a Node app on AWS

I normally use Heroku or Openshift to publish apps but AWS works too. Here's a cheatsheet on how to set-up your NodeJS server from scratch on AWS. This cheatsheet will focus on the development environment and not dive into making a node app. Create an EC2 Server Step 1 -

Rails in a single command

Rails is always evolving. Sure, many people will argue that the framework (and subsequent community) is not iterating as quickly as Javascript but for many people, that's a good thing :smile:. As for me, I started developing Rails apps in 2007 and I think it continues to do what it

Create a Base64 image in one click

I recently discovered this incredible tool from to help you instantly encode images to Data URI's. If you ever need to encode an image, an SVG or a file, all you have to do is right-click it and you're done. Why Data URI's? So far, I've found Data

How to record which users are leaving your site on Google Analytics

As a website (or app manager), I oftentimes ask myself this question, "How many users are we sending to our external partner sites? Also, how many are we sending on a monthly basis?" Google Tag Manager can certainly help you answer this question but oftentimes, the tool is

Javascript closures

There are many good reasons to use a closure but I often forget it's syntax. Below are a few common use cases and examples. Counting Numbers This solution is really great for keeping a single score within a game or maybe a timer. var add = (function () { var counter = 0; return
You've successfully subscribed to Chris Mendez
Great! Next, complete checkout for full access to Chris Mendez
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.