Display incognito / chrome private browser history / chrome history : -> run as administrator -> ipconfig/displaydns -> ipconfig/flushdns How to see and DELETE your
Author: admin
JWT With Apollo
1. install –save jsonwebtoken 2. import {sign} from ‘jsonwebtoken’ 3. login ()=> { const user = await User.findOne(email:email); const valid = await bcrypt.compare(password, user.password) const
CRUD Mongoose
CRUD Mongoose : https://zellwk.com/blog/mongoose/ Connecting to a database First, you need to download Mongoose. npm install mongoose –save You can connect to a database with
Stripe Payment Integration
Developer tools Stripe Developers Youtube stripe-samples Post Views: 5
Paypal Integration
Intro To The Node.js PayPal REST SDK bradtraversy / node_paypal_sdk_sample – Git https://github.com/bradtraversy/node_paypal_sdk_sample/blob/master/app.js const express = require(‘express’); const ejs = require(‘ejs’); const paypal = require(‘paypal-rest-sdk’);
Handling Time Zone in JavaScript
Convert date to another timezone in JavaScript https://stackoverflow.com/questions/10087819/convert-date-to-another-timezone-in-javascript Handling Time Zone in JavaScript https://medium.com/@toastui/handling-time-zone-in-javascript-547e67aa842d#:~:text=In%20this%20scenario%2C%20you%20can,current%20time%20zone%20in%20minutes.&text=The%20return%20value%20of%20%2D540,minutes%20ahead%20of%20the%20target. var aestTime = new Date().toLocaleString(“en-US”, {timeZone: “Australia/Brisbane”}); console.log(‘AEST time: ‘+ (new
Convert date to MongoDB ISODate format in JavaScript using Moment JS
uses ISODate as their primary date type. If you want to insert a date object into a MongoDB collection, you can use the Date() shell
JWT
1. install –save jsonwebtoken 2. import {sign} from ‘jsonwebtoken’ 3. login ()=> { const user = await User.findOne(email:email); const valid = await bcrypt.compare(password, user.password) const
TimeZone
World Time Zones Map Time Calculation : one day = 24 hours 24 Parts; Circle has 360 degree 360/24 = 15 degree Each part has
React Native Hooks
React Native Hooks , How To Use useState and useEffect Example 1. What is React Hook? React hook is newly introduced at react conference and