DEV Community

Cover image for Node.js : REST API part 1

Node.js : REST API part 1

Ridha Mezrigui on September 07, 2020

Hello community, in this tutorial, I'll teach you how to make REST API using Node.js. we will cover all these topics : REST API: What is it, and...
Collapse
 
malditochecho profile image
Sergio Rodriguez

You misspelled bcrypt as becrypt at the installation step.

Beside that, great article. It help me to think on a different approach. Thanks!

Collapse
 
ridhamz profile image
Ridha Mezrigui

thanks bro 🥰

Collapse
 
ridhamz profile image
Ridha Mezrigui

happy to hear that from you 😉

Collapse
 
gmcamposano profile image
gmcamposano

Nice. Thank you

Collapse
 
ridhamz profile image
Ridha Mezrigui

you can check the part 2

Collapse
 
kyawarkar profile image
Kyaw.Arkar

i cant post to api with POSTMAN with post method!
How can i fix

Collapse
 
kyawarkar profile image
Kyaw.Arkar

when i upload to api. then

Collapse
 
ridhamz profile image
Ridha Mezrigui

what do you mean?

Collapse
 
kyawarkar profile image
Kyaw.Arkar

this is screenshot

Collapse
 
sakthi profile image
Sakthivel

Hello brother am getting mongodb connection error can you help to me

Collapse
 
sakthi profile image
Sakthivel

const User = require('../models/user');
we have file user-model but why you are import only user