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

Mike Gugliuzza
Mike Gugliuzza
8,497 Points

Setting up an app database with users and posts

Hi there- I am trying to create a basic CRM system, though I would like to do this using mysql and Nodejs. My database is already created- Are there any tutorials here on Treehouse that can give instructions on how to interact with the DB using nodeJS and start adding users/posts to the DB? Can anyone recommend any tutorials elsewhere if not?

I'm having trouble understanding how websites with posts exactly work- i.e. user account is created- user creates a posts- that post is associated with the user account. Is this process done through a series of objects in the json format?

Thanks for your help!

1 Answer

Your best bet is to go on Github and search for CRM's that use Node. I would imagine most CRM's use either PHP or Ruby, but I think that is your best bet to find something that works.

Mike Gugliuzza
Mike Gugliuzza
8,497 Points

Jacob Mishkin - I was actually hoping to create the CRM myself to better learn how databases actually work. Do you have any recommendations or advice on how this all would work? The part I'm really trying to understand right now is- if a user creates and account and creates a "post" on the website- how does the website send that information to the database to be stored- then later on, how can that information be called from the database?

Thanks again