Posts

Showing posts from May, 2019

Using MongoDB in The Cloud with Atlas

Image
In this blog I'am going to show you how to set up MongoDB Atlas.Atlas allows you to have MongoDB which is a NoSQL database in the Cloud so that you don't have to have it in your Local machine.So let's get started! So first thing you want to do is go to  https://www.mongodb.com/  . Go to Products on the top and choose MongoDB Atlas which is the first option. Now this page should appear.Next you have to either Sign up or Login if you already have an account.If you don't have an account click on the button "Start free" it will take you to the sign up form.If you do have an account click on the Sign in button. After you sign in successfully you will be directed to your Atlas account. Now click on build a Cluster option.Then you will be taken to the Global Cluster configuration page. In the configuration page there are a few options to select.First you need to pick your cloud provider.You can pick any provider you like for this. H

Introduction to Express js

What is Express JS? Express is a fast, unopinionated and minimalist web framework for Node.JS. So what does unopinionated and minimalist mean? Unopinionated basically means that it's not a high-level framework(basic at it's core) and it doesn't assume how you're going to built the app like a certain design pattern you have full control of how you handle requests to the server and how you respond which is also why it's minimalist. Express is a "server side" or "Back-End" framework.Express can be used with Front-End frameworks like React,Angular & Vue to built full stack applications. Mostly Express is used to built the API so that it can take requests from the front end and it serves back data usually in JSON format which can be used to render the front-end. Why use Express? Makes building web applications with Node.Js much easier  If you use Node itself to make the back-end it would be much harder and much more coding. Us