Node.js MongoDB Tutorial | NodeJS With MongoDB Tutorial For Beginners | NodeJS Tutorial |Simplilearn React With Redux Tutorial | React Redux Tutorial For Beginners |
OAuth2 – GoogleAPI
Using OAuth 2.0 to Access Google APIs https://developers.google.com/identity/protocols/oauth2 Client libraries The following client libraries integrate with popular frameworks, which makes implementing OAuth 2.0 simpler. More
How to pass props to components in React
How to pass props to components in React React – Hello World 1.What are Props in React? 2.React Props vs. State 3.How to pass Props
ECMAScript 6 modules
1. Module systems for current JavaScript JavaScript does not have built-in support for modules, but the community has created impressive work-arounds. The two most important
MongoDb – Query for Array Element
db.Posts.insert({ PostBy: “Pankaj Choudhary”, Time:new Date(), Title:”MonogoDB Day2″, Tags:[ “NoSQL”, “MonogoDB”, “Database”, “SQL” ], Likes:3, Comment: [ { CommentBY : “Sanjeev”, Text: “Nice Show” },{
MongoDb – Tips
MongoDB Data Types Object This data type stores embedded documents. When a document contains another document in the form of key-value pair then such type
MonogDb – Index
Index Overview Index Creation Process B-Tree and how index works Default _id index with ObjectID getIndexes() Create new index – Which Fields should be added
MongoDB Aggregation 02
db.Persons.aggregate([ {$project: {isActive: 1, name:1, gender:1}} ]) //OUTPUT : { “_id” : ObjectId(“5f1f23e002c633f9f578dcde”), “name” : “Aurelia Gonzales”, “isActive” : false, “gender” : “female” } db.Persons.aggregate([
MongoDB Aggregation 01 – $match $group $Sort
db.Persons.aggregate([ //stage1 {$match: {tags: {$size: 3}}} ]) db.Persons.aggregate([ //stage1 {$match: {isActive: true}} ]) db.Persons.aggregate([ //stage1 {$match: {age: {$gt: 6}}} ]) $group : Example 1 db.Persons.aggregate([
MonogDB – Documents
MongoDB stores data records as BSON documents. BSON is a binary representation of JSON documents, though it contains more data types than JSON. BSON data