Skip to content

Node.js REST API

Congratulations, you created your own todo list in React and it looks awesome, doesn't it? However, what happens if you refresh your page? All of your data gone?

That can be frustrating, and at the end of the day, this todo list web application can be useless since our data are not permanent.

In order to store our todos somewhere and load them everytime we enter our application we will need some kind of server application and database that will handle this.

In this tutorial we will use Node.js with Express as our backend framework and MongoDB as our database to achieve this.