Welcome and setup
Before any code: what we are building, in plain English
Welcome! Before we open an editor, a quick picture. A network server is just two programs sharing a phone line. One side speaks, the other listens. Redis is one of those programs. By the end of this course you have written your own version of it, one short .mjs file at a time. No frameworks, no magic, just the Node standard library.
The whole network in one picture
Quiz: Quiz
Loading practice…
The reference repo is github.com/learnwithparam/build-your-own-redis-nodejs. Each step is one .mjs file built on the previous.
Ten steps end to end
You should see 'echo server listening on 127.0.0.1:6380'. In another terminal, run nc localhost 6380 and type. Bytes echo back.
Quiz: Quiz
Loading practice…