๐ข Node.js & Express
Run JavaScript on the server and build APIs that web and mobile apps can call.
- 1. Getting started with Node.js
Run JavaScript outside the browser, and set up a project. - 2. Async code and the event loop
Why Node does not wait, and how to use promises, async and await. - 3. Modules and files
Split code into modules and read files without blocking. - 4. Your first Express API
Routes, JSON and status codes. - 5. Routers and project structure
Split an API into files that a team can find their way around. - 6. Middleware and errors
Run shared code before routes, and handle errors in one place. - 7. Validating input
Check every field on the server, and survive a request that arrives twice. - 8. Databases and security
Query safely, store passwords properly, and keep secrets out of code. - 9. Sign-in and permissions
Store passwords safely, choose sessions or tokens, and check ownership. - 10. Testing your API
Use the built-in test runner, and test the routes themselves. - 11. Node.js quick reference
Commands and Express essentials on one page.
Finished? Go deeper in the Node.js & Express learning path and earn a free certificate.