CacheLane Logo

Learn Node.js the hard way

Learn and master NodeJS and backend development by creating a  Crazy Fast backend framework Velocy, with 0 dependencies from scratch!

benchmark

Introduction

Getting Started

Cover

Note

If you're not familiar with javascript, you may also check out my other repository - Learn Javascript - The Easy Way that takes you on a deep and a fun journey into Javascript - from the very basics to the advanced concepts that you'd ever need, without diving into too much theory. Only practical code examples.

To master a new concept, it's often best to begin from the ground up. This isn't just another Node.js guide; it's a comprehensive, code-along experience aimed at building a real world product that may be used by thousands of developers. The product that we're going to build will be a backend framework, that too from scratch.

You won't just learn how Node.js works, but also why it operates in a particular way. The guide also includes discussions on relevant data structures and design patterns.

The book also includes a wide range of exercises specifically created to challenge you, that may require commitment and consistent effort on your part. The first exercises start from chapter 7

This guide goes beyond the basics. We're focused on delivering a modular, optimized backend framework that is close to being production-ready. Topics like performance optimization, security measures, and various testing approaches will be covered to ensure the framework is both reliable and extendable.

I highly recommend actively coding alongside this guide, rather than just reading through it, for a full understanding of Node.js and its more intricate aspects.

The repo for our backend framework- Velocy. (W.I.P)

Table of contents

Chapter 01

What the heck is a web server any way?

Chapter 02

Your first node.js program

Chapter 03

Working with files

Chapter 04

logtar our own logging library

Chapter 05

HTTP Deep dive

Chapter 06

Velocy - Our backend framework