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

Creating user accounts that can be assigned items and privileges.

Hi there! I work for a commercial real estate company and I am currently challenging myself to create a new portion of our website. The functionality of the website will be as follows:

  1. Both the clients and real estate agents should have user accounts,
  2. The agents should be able to assign the client a building or property listing- and once the client is assigned the building they should be able to see the agent's comments, photos or attachments specifically about that building in the form of a twitter-like news feed. The agent should be able to add a comment or attachment similar to how a tweet is added
  3. The client should then be able to comment on the agent's updates within the feed.
  4. Data from our property listings should also be able to integrate into this portion of the website. (Our current website listings are posted using a custom Wordpress post type)

Does this concept sound reasonable? Even though our website is hosted on Bluehost and is using Wordpress, I want to create this portion of the website without using wordpress. Instead, I'd like to use the skills I am learning here at Treehouse in Javascript, html, css...

I know bluehost uses MySql for databases- but can anyone tell me where I would even begin to setup the database, link it to the new portion of the website and create the ability for user accounts to be made. Then how would I allow these user accounts to assign different objects to other accounts? What does Treehouse use for it's user account system?

Am I being naive in thinking I can code this all using only Javascript, HTML and CSS? If so, what other languages should I learn to make this possible?

Thanks so much for your time!