Posts Tagged: JSON


Building a Simple Node.js Express API

At the end of my last post, Connecting MongoDB to Node.js, I walked through a brief example of how to connect a local MongoDB server to a Node.js Express app. We finished with an app that basically does nothing except create a model for a Todo and connect to a local Mongo database. So if...

Read More

Connecting MongoDB to Node.js

If you read my post Getting Started with MongoDB, I went over some basic instructions to start a mongoDB server on a windows PC. This post will be all about connecting that database to a local Node.js express back-end, so if you aren’t up to speed with Mongo be sure to check out that post...

Read More

Getting Started with MongoDB

MongoDB is a pretty awesome NoSQL database that has become super popular in the past few years. I’ve recently started learning MongoDB and I have to say I can understand it’s popularity. Modern applications are rapidly evolving and many will argue that relational databases are not designed to deal with the challenges that have presented...

Read More

AJAX PHP Form

PHP comes packed with a powerful mail function¬†that makes sending emails super easy. Using some basic PHP and Javascript we can create a simple contact form that is submitted via AJAX.¬† Using AJAX to submit the form isn’t necessary, but I really love the seamless user experience that AJAX helps to provide and it makes...

Read More

JSON Post Requests

APIs are fantastic and it’s no secret that developers love them. In short, APIs are a set of rules that allow for two different software components to communicate with one another in an automated way. In this article I will look at how to use PHPs file_get_contents to send a JSON POST request to a...

Read More