Web · Advanced
Back end with Node
Run JavaScript on the server: files and command-line tools, then an HTTP API, then a real database and secure sign-in.
- 3 levels
- 38 hands-on classes
- 3 level exams
- about 7 h
What you'll be able to doBuild the back end of a real shop in Node: files and scripts, an HTTP API, a database, sign-in, and tests that catch bugs.
0%Not started
Level 1 · 11 classes and an exam
0/12Node basics
Write programs that read and change files and run from the terminal.
- Class 1Your first Node programYou are herePlus · Ultra
- Class 2Modules: require and module.exportsPlus · Ultra
- Class 3Words after the file namePlus · Ultra
- Class 4Read a filePlus · Ultra
- Class 5Write a report filePlus · Ultra
- Class 6Paths that work on any machinePlus · Ultra
- Class 7Change a JSON filePlus · Ultra
- Class 8When a file is not therePlus · Ultra
- Class 9Settings from the environmentPlus · Ultra
- Class 10A command-line toolPlus · Ultra
- Class 11Read files without waiting in linePlus · Ultra
- Level exam · 3 questionsLevel 1 project: the restock toolPlus · Ultra
Level 2 · 14 classes and an exam
0/15An HTTP API
Build a server that answers requests with the right status, headers and JSON.
Pass the level 1 exam to open this level.
- Class 12Your first serverPlus · Ultra
- Class 13RoutesPlus · Ultra
- Class 14Answer with JSONPlus · Ultra
- Class 15Read the request bodyPlus · Ultra
- Class 16Query stringsPlus · Ultra
- Class 17One item by its idPlus · Ultra
- Class 18Create: POST and 201Plus · Ultra
- Class 19Update and deletePlus · Ultra
- Class 20Check what comes inPlus · Ultra
- Class 21When something breaks insidePlus · Ultra
- Class 22MiddlewarePlus · Ultra
- Class 23Let the shop front call the APIPlus · Ultra
- Class 24An access logPlus · Ultra
- Class 25Keep the data after a restartPlus · Ultra
- Level exam · 3 questionsLevel 2 project: the orders APIPlus · Ultra
Level 3 · 13 classes and an exam
0/14Data and security
Keep data in a real database, sign people in safely and test the API.
Pass the level 2 exam to open this level.
- Class 26From a file to a databasePlus · Ultra
- Class 27SQL injectionPlus · Ultra
- Class 28Add and remove rowsPlus · Ultra
- Class 29Join tablesPlus · Ultra
- Class 30Store passwords safelyPlus · Ultra
- Class 31Sign upPlus · Ultra
- Class 32Sign inPlus · Ultra
- Class 33Signed tokensPlus · Ultra
- Class 34Protect the routesPlus · Ultra
- Class 35Admins onlyPlus · Ultra
- Class 36Slow down password guessingPlus · Ultra
- Class 37Secrets in the environmentPlus · Ultra
- Class 38Test the APIPlus · Ultra
- Level exam · 3 questionsLevel 3 project: the secure notes APIPlus · Ultra

