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 Building a MEAN Application Creating and Editing Data in a MEAN App Editing Data with PUT Routes in Express

Anthony c
Anthony c
20,907 Points

Idea for Course

Maybe it would be helpful to outline the flow of actions at some point?

For example for adding a todo, from what I can tell it is:

  1. angular calls an add action (post)
  2. angular talks to express by sending a post request
  3. express calls Todo.create (which is express talking to mongoose)
  4. mongoose talks to mongodb to do a Todo.insert (assuming everything matches up okay with the model/object)
  5. success response or error is sent back through the chain
Abraham Juliot
Abraham Juliot
47,353 Points

Totally agree. An outline would be very helpful.

I second this!