Learn how to build a simple REST API to store notes using the latest built-in node features including native ES modules, the fs/promises API, async/await, the nullish coalescing operator, and destructuring. No compilers, no build steps, pure code.
Map, and accessing asynchronous data with
View the source for this project in the project's github repo.
- I'm not very pedantic about REST and basically just mean an API over HTTP
- Express 5 is still in alpha (and has been for over two years), but most of these lessons apply to Express 4 as long you use something like express-async-errors to add support for
async routes and middleware