Building a Basic Todo List REST API in Node.js with Express


Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Presentation


<title>Todos list</title>
<% todos.forEach( (todo) => {%>
<li> <%= todo.title %> </li>
<% })%>

In this tutorial, you have see some of the main concepts of Node.js that are needed to create a basic todo list application.

First, we have seen that Node.js is a non-blocking server based on V8, the JavaScript engine of Chrome, and that it's using an Event Loop. We also have seen how to require a module and create a REST API, then, we concluded this introduction with a quick look at EJS template.

There are so much topics about Node (such as modules in depth, Middlewares, sockets, fswatcher, how works libuv, etc.). Feel free to contribute by creating a new content about them.

This content is also part of the TodoList Exercises series which goal is to make a quick introduction to a technology by creating a small TodoList tutorial.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content