DEV Community

Cover image for A Step-By-Step Guide to Create your First API with Node and Express

A Step-By-Step Guide to Create your First API with Node and Express

Gaël Thomas on September 26, 2020

Nowadays, APIs are everywhere. If you are a web developer, you probably heard about it at least one time in your life. At the end of this guide, yo...
Collapse
 
delc82 profile image
dleon • Edited

Awesome article, just one thing, const bookList should be let because it is being assigned a new array when a book is deleted.

Collapse
 
gaelgthomas profile image
Gaël Thomas

Thank you! 👍😀
Good point, I did it on GitHub, but I forgot to change it in the article. I updated it!

Collapse
 
razbakov profile image
Aleksey Razbakov

It should be const because Array is an object and reference to the object is not changed.
Read more here

Collapse
 
developerkaren profile image
Karen Efereyan

This is absolutely brilliant.

Collapse
 
gaelgthomas profile image
Gaël Thomas

Thank you! 🤩

Collapse
 
andrewbaisden profile image
Andrew Baisden

Cool Node is so easy to learn honestly all front end developers who use javascript should be using Node as well its just natural.

Collapse
 
gaelgthomas profile image
Gaël Thomas

I don't think it's easy for everyone! But indeed, if you're a JS frontend developer, it's good to use because you don't have to learn a new language (again).

Collapse
 
andrewbaisden profile image
Andrew Baisden

I will admit that I did not learn Node after I learned JavaScript. It took me more than a year before I finally decided to look into it. Back then I only cared about front-end development the thought of working on the back-end did not appeal to me that much. But now I'm full-stack so my eyes have been opened and I have grown as a developer.

Collapse
 
celnethub profile image
Celestine

This posted rekindled my motivation to Backend development

Collapse
 
gaelgthomas profile image
Gaël Thomas

Oh yeah! 🕺 So glad to read that! Keep coding, even if it's hard! The more you will do it, the better you will understand and create quality apps. 😁

Collapse
 
bengabo profile image
Benjamin Gaboury

Great course to begin working with Node ! Thanks Gaël!