Back
Close

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

ACT
7,396 views
Previous: Presentation

Sum'Up

Demo
<html>
<head>
<title>Todos list</title>
</head>
<body>
<ul>
<% todos.forEach( (todo) => {%>
<li> <%= todo.title %> </li>
<% })%>
</ul>
</body>
</html>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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.

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants