To start Mongodb:1.create folder named( data ) and include that folder below.2.D:\Mongodb\bin> mongod.exe --dbpath “D:\data”Another cmd3. mongo.exeFunction:1..To create database:use DATABASE_NAME2..insert()>db.COLLECTION_NAME.insert(document)3..Update()>db.COLLECTION_NAME.update(SELECTION_CRITERIA, UPDATED_DATA)4..remove()>db.COLLECTION_NAME.remove(DELLETION_CRITTERIA)5..To check data>db.dbname.find().pretty()To run Nodejs:Go to the folder path and1. npm install2. npm i -g @angular/cli3. ng serve or npm start or npm run dev
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)