Express is a terrific JavaScript framework that serves as the backend for a lot of full stack web applications. Many of us use it day-to-day and are proficient in how to use it but may lack an understanding of how it works. Today, without diving into the Express source code, we’re going to recreate some of the routing functionality to gain a better understanding of the the context in which the framework operates as well as how response and request can be handled.
9 min read
#NodeJS #ExpressJS
9 min read
#NodeJS #ExpressJS
Hacker Noon
Understanding Express.js: Creating Your Own Node HTTP Request Router
Express is a terrific JavaScript framework that serves as the backend for a lot of full stack web applications. Many of us use it…
JavaScript is one of the most popular programming languages in the world, and is now widely used also outside of the browser. The rise of Node.js in the last few years unlocked back-end development - once the domain of Java, Ruby, Python, PHP, and more traditional server-side languages.
The JavaScript Handbook follows the 80/20 rule: learn 80% of JavaScript in 20% of the time.
91 min read
#JavaScript #Guide
The JavaScript Handbook follows the 80/20 rule: learn 80% of JavaScript in 20% of the time.
91 min read
#JavaScript #Guide
freeCodeCamp.org
The Complete JavaScript Handbook
JavaScript is one of the most popular programming languages in the world, and is
now widely used also outside of the browser. The rise of Node.js in the last few
years unlocked back-end development - once the domain of Java, Ruby, Python,
PHP, and more traditional…
now widely used also outside of the browser. The rise of Node.js in the last few
years unlocked back-end development - once the domain of Java, Ruby, Python,
PHP, and more traditional…
Building from Simple Algorithms & Data Structures in JS, here we’ll look at data structures beyond arrays and key-value objects, beyond “labelled & deposit” boxes.
4 min read
#Algorithms #JavaScript
4 min read
#Algorithms #JavaScript
freeCodeCamp.org
Linear Data Structures: Linked Lists, Stacks, and Queues in JS
Building from Simple Algorithms & Data Structures in JS, here, we look at data structures beyond arrays and key — value objects, beyond…
We all know the stack as well will not stop there. Express will probably also require installation of “body-parser” and “cors”, and possibly sub Express NPM modules. Don’t forget Lodash, Underscore, Moment…and the list goes on and on as there are thousands upon thousands of NPM modules to make use of.
8 min read
#NPM #NodeJS
8 min read
#NPM #NodeJS
freeCodeCamp.org
How to keep your sanity while managing NPM & functions in Node
Introduction
In this article, we are going to explore the lifecycle methods of ReactJS. But, before moving ahead to React’s different lifecycle methods, we should understand what it is.
4 min read
#React
4 min read
#React
freeCodeCamp.org
How to understand a component’s lifecycle methods in ReactJS
In this part, we are going to explore about lifecycle methods of ReactJS. But, before moving ahead to react’s different lifecycle methods…
Sorting algorithms are very important to know and implement. Today, I want to go over one of the most popular sorting algorithms called merge sort implemented in JavaScript.
4 min read
#Algorithms #JavaScript
4 min read
#Algorithms #JavaScript
Medium
Merge Sort Algorithm in JavaScript
Implementing merge sort in JavaScript!
In this post I will continue with the concept of complexity and its application to algorithms & data structures.
6 min read
#Algorithms #JavaScript
6 min read
#Algorithms #JavaScript
freeCodeCamp.org
The complexity of simple algorithms and data structures in JS
In the previous article “A Step Towards Computing as a Science: Simple Algorithms & Data Structures in JS,” we discussed simple algorithms…
In recent versions of macOS (Mojave) and Windows 10, users have been able to enable a system level dark mode. This works well and is easy to detect for native applications.
4 min read
#JavaScript #CSS #React #Electron
4 min read
#JavaScript #CSS #React #Electron
freeCodeCamp.org
How to detect a user’s preferred color scheme in JavaScript
In recent versions of macOS (Mojave) and Windows 10 users have been able to enable a system wide dark mode. As this works well and is…
Learning to write good code, but you don’t know where to start… Going through style-guides like Airbnb’s Javascript Style Guide… Trying to write code with best practices...
14 min read
#JavaScript #Tools #ESLint #Prettier #Editorconfig #Husky #LintStaged
14 min read
#JavaScript #Tools #ESLint #Prettier #Editorconfig #Husky #LintStaged
freeCodeCamp.org
These tools will help you write clean code
A look at Prettier, ESLint, Husky, Lint-Staged and EditorConfig
A web worker is a simple way to run Javascript code in background threads on the browser.
8 min read
#WebWorkers #JavaScript
8 min read
#WebWorkers #JavaScript
Medium
Web Workers Demystified
A web worker is a simple way to run Javascript code in background threads on the browser.
All of us write code that breaks at some point. That is part of the development process. When you run into an error, you may feel that you don’t know what to do. However, even the most seasoned developers introduce errors and bugs that break their code. We are humans after all.
4 min read
#Programming
4 min read
#Programming
freeCodeCamp.org
How to Improve Your Debugging Skills
by Nick Karnik
How to Improve Your Debugging Skills
All of us write code that breaks at some point. That is part of the development
process. When you run into an error, you may feel that you don’t know what to
do. However, even the most seasoned developers…
How to Improve Your Debugging Skills
All of us write code that breaks at some point. That is part of the development
process. When you run into an error, you may feel that you don’t know what to
do. However, even the most seasoned developers…
In this tutorial we will be going over how to integrate React Hooks into a React Redux project without changing the Redux code (reducers and actions) at all.
8 min read
#React #Redux
8 min read
#React #Redux
freeCodeCamp.org
How to integrate React Hooks into your project without changing your Redux code
How to integrate React hooks without changing your react redux code.
This is the story of Peter. Peter is a programmer that can do anything. He can create software as good as any of his other peers. However, there's a difference between a programmer with experience from a programmer without experience, even though both have the same technical skills.
6 min read
#Programming
6 min read
#Programming
Medium
A Smart Programmer Understands The Problems Worth Fixing
The difference between solving any problem and the right one
Recently, Prof. Tim Berners-Lee lifted the veil off a project called Solid. I decided to check it out. In this article, I describe what Solid aims to do, and also how you can get started with it.
5 min read
#Internet #DecentalizedWeb
5 min read
#Internet #DecentalizedWeb
freeCodeCamp.org
An introduction to SOLID, Tim Berners-Lee’s new, re-decentralized Web
Recently, Prof. Tim Berners-Lee lifted the veil off a project called Solid. I decided to check it out. In this article, I describe what…
What makes NodeJS distinguished from any other programming platforms is how it handles I/O. We hear this all the time when NodeJS is introduced by someone saying “A non-blocking, event-driven platform based on google’s v8 javascript engine”. What do all these mean? What do ‘non-blocking’ and ‘event-driven’ mean? Answer for all these lies at the heart of NodeJS, the Event Loop.
9 min read
#NodeJS
9 min read
#NodeJS
The JS Blog
Event Loop and the Big Picture — NodeJS Event Loop Part 1
What makes NodeJS distinguished from any other programming platforms is how it handles I/O. We hear this all the time when NodeJS is…
So you are planning to start with GraphQL and MongoDB. Then you realize how can I set up those two technologies together? Well, this article is made precisely for you. I’ll show you how to set up a GraphQL server using MongoDB. I will show you how you can modularize your GraphQL schema and all this using MLab as our database.
6 min read
#MongoDB #GraphQL
6 min read
#MongoDB #GraphQL
freeCodeCamp.org
How to set up a GraphQL Server using Node.js, Express & MongoDB
The most straightforward way to start with GraphQL & MongoDB.
The Docker instructions, CMD and ENTRYPOINT, are used in Dockerfiles and Docker Compose files to configure the commands used to run a container. This tutorial will explain the differences between them and how to best use them in your Dockerfiles.
5 min read
#Docker
5 min read
#Docker
freeCodeCamp.org
Docker ENTRYPOINT & CMD: Dockerfile best practices
The Docker instructions, CMD and ENTRYPOINT, are used in Dockerfiles and Docker Compose files to configure the commands used to run a…
This article will teach you the bare minimum you need to know in order to start creating apps on top of the Dropbox API.
5 min read
#API
5 min read
#API
freeCodeCamp.org
Learn the Dropbox API in 5 minutes
This article will teach you the bare minimum you need to know in order to start creating apps on top of the Dropbox API. Once you’ve read it, you can also check out our free course on the Dropbox API if you’re interested in learning more. In that
The road to becoming a software developer is a long and difficult one, especially for individuals like me who come from a completely non-technical background. I am a communication-oriented person. I have a passion for speaking foreign languages, immersing myself in foreign cultures, and trying all sorts of new food.
11 min read
#Programming
11 min read
#Programming
freeCodeCamp.org
How learning a foreign language helps you learn to code
The road to becoming a software developer is a long and difficult one, especially for individuals like me who come from a completely non-technical background. I am a communication-oriented person. I have a passion for speaking foreign languages, immersing…
So, you’re looking for a way to spend your Saturday, and you come across the brilliant idea to go spend the entire day at an organized hackathon. Fun! But not necessarily. Like anything else, hackathons are something where you get out what you put in. But at least here, you typically are going to get free 🥯, 🍕 and ☕️ for your trouble (if you have ever found a hackathon with a different menu, god bless your good luck).
8 min read
#Hackathon
8 min read
#Hackathon
freeCodeCamp.org
How to survive (and even thrive in) a Hackathon
So, you’re looking for a way to spend your Saturday, and you come across the brilliant idea to go spend the entire day at an organized…
Here, I’ll evaluate the three different methods in Node.js I used to read the files, to determine which is most performant.
8 min read
#NodeJS
8 min read
#NodeJS
ITNEXT
Streams For the Win: A Performance Comparison of Node.js Methods for Reading Large Datasets (Pt 2)
How readFile(), createReadStream() and event-stream stack up in performance testing.