How To
How to
How to install Nodejs on Amazon Linux 2
In this article, I will tell you how to install Nodejs on Amazon Linux 2. First, install NVM using CURL Then run this command To verify that nvm has been installed, do run this command After that, run this command to install Node 11 using NVM So you install NodeJS 11 on your EC2 instance. …
How to Install MongoDB in Ubuntu Inside AWS
First, add the GPG key Next, we need to create a list file for MongoDB Then, update the APT package list. Now it’s time to install MongoDB If you have typed everything correctly, then it should install MongoDB on your Ubuntu Machine. Next, we need to start the MongoDB by running this command Verify that …
Connect to Redis using NodeJs
Redis is a data store. Well, suited to handling simple data, that doesn’t need to be stored for long-term access such as instant messages and game-related data. Redis stores data in Ram logging changes to it to disk the downside to this is that storage space is limited but the advantage is that radius can …
What is Express
Express is a relatively small framework, That sits on top of the node.js web server, functionality to simplify its APIs, and helpful new features. Express is built on top of Connect, providing tools and structure that makes writing web application easier, faster and more fun. It makes it easier to organize your application’s functionality with …
Node js connect to MongoDB using mongoose
Almost every application web-based or otherwise requires data storage of some kind. And the applications you build with node are no different In the early days of the database World, non-relational databases were the norm but relational databases slowly gained in popularity and over time became the mainstream choice for applications both on and off …
How to install NVM in Ubuntu
What We Will Cover Here In this tutorial, I will show you how to install NVM and then using NVM how you can install NodeJS. NVM is a node version manager. It’s a tool to install multiple versions of NodeJs into your server. Here I will show you an example that works on Amazon Linux …
What is node.js used for
According to Wiki, Node.js is an open-source, cross-platform, back-end, JavaScript runtime environment that executes JavaScript code outside a web browser. The original author of NodeJs is Ryan Dahl and the first release was on May 27, 2009. Background For most of its life, the JavaScript programming language has lived inside web browsers. It started as …