Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Do we get to learn how send data to a database using Node.js?

I'm just a little confused about the hype with Node.js. I was really looking forward to this part of the JS course because I've reached the point where I want to be interacting with a database routinely in my web-development projects. However, I see that in the Building a Simple Website with Node.js course, the data we're getting is all already in JSON format on the treehouse server. That doesn't really help me learn how to add user data from a sign-up form, etc to a server. Kind of an important thing to know. Do we end up learning how to do this in any of the JS courses? Someone please give me hope here....

3 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Wilson;

Right now there are no specific courses which meet your needs that I am aware of. There is a Building a MEAN Application course scheduled for March 2016 which should have some coverage on Node.js and MongoDB along with, quite likely, the Mongoose ODM which makes working with the two even smoother than just the MongoDB Node.js driver itself. There are lots of options out there to learn about integrating databases with Node.js and MongoDB is not the only option available as there are implementations and drivers for most, or all, popular databases for Node.js.

If you have specific questions, please feel free to ask as there are lots of knowledgeable people here on the forum.

Happy coding,
Ken

Thanks for the response Ken! I will look forward that release! Finally, what appears to be a course that encompasses several languages and tools into one project!

The mongoDB course will help you setup and access a database. The node.js course tries to softly introduce you to server side javascript. It's basic, no where close to a real project in node.

Hope this helps

Thanks for the response Ali! I will look forward to getting into the mongoDB course. Its really difficult to progress when we aren't actually uploading data to a database. That should be fun!

http://docs.sequelizejs.com/en/latest/

To add for mysql.

Javascript ;)