Ravi Tokas

Tutorial - 1 How to install and create nextJS project

Create and install nextJS application

Next.js is a popular React-based framework for building server-rendered (or statically exported) web applications. It was developed by Vercel (formerly known as Zeit) and has been widely adopted by the JavaScript community due to its simplicity, performance, and developer experience. Here are some of the key features and benefits of Next.js: Server-side rendering (SSR): Next.js […]

Create and install nextJS application Read More »

JavaScript, Next JS, Programming, Technology, Web Development,
MongoDB with ReactJS

Connect MongoDB with ReactJS ?

First, we create a react app, and then for backend maintenance, we create API in node.js and express.js which is running at a different port and our react app running at a different port. for connecting React to the database (MongoDB) we integrate through API. Now see how we create a simple React app that

Connect MongoDB with ReactJS ? Read More »

JavaScript, MongoDB, Node JS, Programming
React vs Angular

React vs Angular: Which Is the Best JavaScript Framework?

Angular and React, as they’re two of the most popular front-end development frameworks. But how can you pick between angular vs react? Angular: Angular is a Google-developed and maintained web framework that was first released in 2010 under the name AngularJS. It quickly became one of the most popular web frameworks at the time. This

React vs Angular: Which Is the Best JavaScript Framework? Read More »

JavaScript, Web Development, , , ,
Hash password node js

Hashing passwords using Bcrypt with Nodejs

According to Wikipedia “bcrypt is a password hashing function designed by Niels Provos and David Mazières, based on the Blowfish cipher. In real life applications with User authentication functionality, it is not practical to store user password as the original string in the database but it is good practice to hash the password and then store them into the database.

Hashing passwords using Bcrypt with Nodejs Read More »

JavaScript, Node JS, Web Development,
node and mongo DB

Connect MongoDB Atlas with NodeJS using Mongoose

MongoDB is a NoSQL database used to store large amounts of data without any traditional relational database table. Instead of rows & columns, MongoDB used collections & documents to store data. A collections consist of a set of documents & a document consists of key-value pairs which are the basic unit of data in MongoDB.

Connect MongoDB Atlas with NodeJS using Mongoose Read More »

MongoDB, Node JS, ,
Javascript-array-method

JavaScript Array Methods

Converting Arrays to Strings The JavaScript method toString() converts an array to a string of (comma separated) array values. Example const fruits = [“Banana”, “Orange”, “Apple”, “Mango”]; let fruitsString = fruits.toString(); console.log(fruitsString); Result: Banana,Orange,Apple,Mango The join() method also joins all array elements into a string. It behaves just like toString(), but in addition you can specify the separator: Example const fruits = [“Banana”, “Orange”, “Apple”, “Mango”]; let fruitsJoin

JavaScript Array Methods Read More »

JavaScript,
JavaScript Variable

JavaScript Variables

In Javascript there are Four Ways to Declare a JavaScript Variable:   Using var Using let Using const Using nothing Variables are containers for storing data (storing data values). The var is the oldest keyword to declare a variable in JavaScript. Scope: Global scoped or function scoped. The scope of the var keyword is the global or function scope. It means

JavaScript Variables Read More »

JavaScript, Web Development
javascript function

Difference between First-Class and Higher-Order Functions in JavaScript

A programming language is said to have First-class functions when functions in that language are treated like any other variable. For example, in such a language, a function can be passed as an argument to other functions, can be returned by another function and can be assigned as a value to a variable. Example |

Difference between First-Class and Higher-Order Functions in JavaScript Read More »

JavaScript, Web Development,
Javascript call stack model

Javascript Call Stack

A call stack is a mechanism for an interpreter (like the JavaScript interpreter in a web browser) to keep track of its place in a script that calls multiple functions — what function is currently being run and what functions are called from within that function, etc. When a script calls a function, the interpreter adds it to the

Javascript Call Stack Read More »

Bootstrap, CSS, HTML 5, JavaScript, Web Development
web accessibility

how You Can Make Your Website More Accessible

What Is Web Accessibility? Web accessibility is about designing and developing websites, tools, and technologies that people with disabilities can use, according to the World Wide Web Consortium (W3C). People with disabilities should be able to perceive, understand, navigate, and interact with, and contribute to the web. Web accessibility applies to all disabilities that affect access to the

how You Can Make Your Website More Accessible Read More »

Technology, Web Development
Scroll to Top