express

image post

How to configure http auth basic in Node js and Express

Let’s build a small site in Node.js using Express that will have one protected page

Read More →
image post

Full-text search in Node JS - search related data

If you are building a website, e-commerce, a blog, etc., you will need a full-text search to find related content like Google does for every web page.

Read More →
image post

How to configure HTTPS in Node.js

Sometimes we need to configure a secure environment locally to test how our application reacts to HTTPS.

Read More →
image post

How to build a sitemap xml in Node js using Express

A good sitemap.xml will help you a lot in terms of SEO. It’s a nice starting point if you want to index your site. It’s just a standard XML file that search engines understand.

Read More →
image post

Redirect all requests from HTTP to HTTPS in Node.js and Express

The first step will be to create a method to guess if the HTTP request comes from HTTP or HTTPS (secure or not secure). In some context like AWS or Heroku you will have to ask by the header x-forwarded-proto instead of req.secure.

Read More →
Search
Side Widget
You can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!