DEV Community

Discussion on: Dockerize a React app with Node.js backend connected to MongoDb

Collapse
 
glenhughes profile image
Glen Hughes

Great article. I enjoyed reading it. I think this article gives a good top level explanation on how to get this working.

Only change I would make is use a post rather then a get to create the user. :)

Collapse
 
vguleaev profile image
Vladislav Guleaev

Thank you! Yeah post would be correct way to create user, also I made it to avoid using postman or curl in previous article.

Collapse
 
glenhughes profile image
Glen Hughes

Ahh yes, you can just CURL from the command line ;)
curl -d "foo=bar" http://localhost:8080/users

Some comments have been hidden by the post's author - find out more