Database

Building a URL Shortener with Node.Js and Redis

A URL shortener is a pretty popular application on the Web. URL shortener saves spaces so that one can send it in emails, tweet it on Twitter while still redirecting to the original URL. For example, consider this URL: https://www.amazon.in/Apple-iPhone-XR-64GB-White/dp/B07JGXM9WN/ If we generate the short URL of this, it will be: sleepy-dawn-98666.herokuapp.com/bvVDmIUq It’s simple, compact

Building a URL Shortener with Node.Js and Redis Read More »

Migrating WordPress Content to MongoDB

WordPress uses MySQL as a primary database to store its content that includes posts, categories, tags, users, media and other meta details. WordPress also has a pretty awesome import/export feature that generates a generic XML file containing the content information. This article is a part of Codeforgeek redesign series. When we chose to decouple WordPress

Migrating WordPress Content to MongoDB Read More »

Session Management in Nodejs Using Redis as Session Store

We have covered session management in ExpressJs using a global variable technique which of course will not work in the case of shared server or concurrent execution of HTTP requests which is the most familiar production scenario. Codeforgeek readers requested to provide a solution for this issue and the optimal one is to use external

Session Management in Nodejs Using Redis as Session Store Read More »