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.
This collection of lessons is great for beginners to Express as long as they are familiar with JavaScript and the HTTP protocol. Those more familiar with node and express will appreciate a fast-paced, modern take on using these popular tools and will likely benefit most from the lessons on input validation, models (which emphasizes a lot of new syntax), using fs/promises to serialize a Map
, and accessing asynchronous data with async/await
.
Pre-requisites:
View the source for this project in the project's github repo.
Notes:
async
routes and middlewareA Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.
A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.