Example of Get and Post in Express
In this tutorial, we will create a form which user post their meal preferences to another page so that we can see how to implement Express’s get and post routing methods. GET We start off with...
read moreUsing Mustache Templating engine with Express
To use the Mustache templating engine in Express, you first install the mustache-express package … npm install mustache-express –save and then add the require module… This sets up...
read moreDisplaying static files in Express
If you want the webapp in the last tutorial to display a static image, it would give a 404 error. To fix this, use the express.static middleware like this … That means that anything placed...
read moreCreating Custom 404 error pages in Express
To create a custom 404 page indicating “page-not-found” in Express, we add the following to our existing code in previous tutorial… Now when you go to an unknown page URL, you get...
read morePutting Node Express app on Heroku
In the last tutorial, we created an simple Hello WorldNode Express app which we will not deploy to Heroku for hosting on the public internet. Step 1: Login to your Heroku hosting account and click...
read moreTutorial for Hello World in Node Express step-by-step
In this tutorial, we write a Hello World program in Node.js with ExpressJS. It assumes that you have already installed Node and are able to run npm. If you’ve installed it long time ago and...
read moreUse REST API to Connect with Mongo with PHP
After getting your basic understanding of mLab (formerly MongoLabs) from our previous tutorial, we now show you how to connect to the Mongo database on mLab.com using PHP and the REST APIs provided...
read moreTutorial HTML5 Local Storage
We will learn about HTML5 local storage in this tutorial. Local storage is newer technology that can used instead of cookies for storing web app data in user’s browser. But unlike cookies,...
read moreHow to Implement Background Video
There is currently no such thing as CSS background-video like you have for background-image. What you really have is regular HTML video using either “position absolute” or...
read moreAll contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.