Introduction to indexing in mongoDB | MongoDB Indexing

One of the powerful features of MongoDB is indexing and its wide and rich indexing functionality. the database index is a data structure that mainly improves the speed of data fetching operations. Indexing is used for search query sort its boost up performance without index collection will be scanned fully to get required data so it’s a very slow operation for the big amount of data that’s why indexing can increase read query and get only required data instead of full data. MongoDB has by default indexing on the _id field.
Mongo uses B-tree data structure. B-tree is a tree data structure that keeps data sorted and balanced. B-tree is optimized for systems that read and write large blocks of data.

Read More

Introduction to react component | Create component with react

React.js

 a react component is used for reuse the UI. we can use our  react component in another component. As we all know every page have some components, in react we can make individual components and assemble them to make any page. components accepts the inputs called props. react component describing what should display in view. 

First you have to setup a react app in your system, if you already setup then go to next step and if not then check introduction to react after that go to next step.

Read More