1. Register a User : User email, id , password, and type will be saved in application db 2. User will be redirected to login
Author: admin
Node Versioning
Package Versioning : QA 1 : What’s the difference between tilde(~) and caret(^) in package.json ? After I upgraded to latest stable node and npm,
ORM – Sequalize
Sequelize – ORM Introduction in Tamil ORM : -ORM-Object Relational Mapper -Layer exists between server and database -Can query the data with application language without
React Native – Android Setup Windows
2024 – JAN Install and Setup React Native on Windows 10 1. Install Chocolatey : @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))”
Mongoose relation – Deep collections connect with populate
package.json { “name”: “mongorelation”, “version”: “1.0.0”, “description”: “”, “main”: “index.js”, “scripts”: { “start”:”nodemon app.js” }, “author”: “”, “license”: “ISC”, “dependencies”: { “express”: “^4.17.1”, “mongoose”: “^5.10.11”,
How to Import CSV and JSON file in Mongo Atlas & MongoDb
Syntax mongoimport –host cluster0-shard-00-02.c0uc9.mongodb.net:27017 –ssl –username adminprabha –password ***1** –authenticationDatabase admin –db bookmark –collection bookmarks –type json –file mybookmark.json cluster0-shard-00-02.c0uc9.mongodb.net:27017 Download Database tool Extract the
RESTful CRUD APIs using Node.js Base Structure
RESTful CRUD APIs using Node.js Base Structure Mongoose is an Object Data Modeling (ODM) library for MongoDB and Node.js. It manages relationships between data, provides
Rest Spread Operator – Objects
Rest Parameter [ …rest] It is a collection of all remaining elements (hence, the name rest, as in “the rest of the elements”) into an
Different Way Mongoose Connection
https://stackoverflow.com/questions/37695147/connect-mongo-creating-new-session-every-second var express = require(‘express’); var fs = require(‘fs’); var mongoose = require(‘mongoose’); var passport = require(‘passport’); var flash = require(‘connect-flash’); var morgan = require(‘morgan’);
Heroku GitHub Deployment CICD
npm install nodemon –save-dev GitHub git init git remote add origin https://github.com/abcuser/BlogDemo.git git clone https://github.com/abcuser/BlogDemo.git git config –global user.name kprabha git config –global user.email abcuser@gmail.com