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

Databases

Michal Weizman
Michal Weizman
14,050 Points

Bringing the RSVP app to life (JS beginners track)

Hi guys, I've just completed building the awesome RSVP app in the JS beginners course, and I was hoping to bring it to life. Rather than using local storage, I'd like to use my domain to allow a person to update it via web. I'm sure Treehouse has everything I need, I just need some guidance for finding courses. Any suggestions about the courses I need to complete to come about doing this? I might be wrong, but I suspect I need tutorials about (1) making post requests to the server, and (2) updating and retrieving data from a db. Any suggestions would be greatly appreciated!

1 Answer

Steven Parker
Steven Parker
231,236 Points

A typical way to create POST requests in the client is with a <form> element. These are covered in one (or more) of the HTML courses.

And the server-side languages include courses that cover database access. What language is (or will be) your server app written in?

Michal Weizman
Michal Weizman
14,050 Points

Thanks Steven! I appreciate the quick response and help.

I have some previous python experience, so I think I should use either Django or Flask. Am I correct? Also, any suggestions about which is better, assuming I'll take Treehouse courses?.

Reading a bit about the back end made me understand there's a long way to go before achieving this, so I might use local storage in the meantime, just to get the kick out of seeing it live :) But any info or suggestions would be awesome! thanks!

Steven Parker
Steven Parker
231,236 Points

I haven't yet studied Django or Flask myself, so I'm not the right person to answer that question. But I know they are both taught here.

I generally do server development in C#, using Entity Framework for database access. This is also taught here, but it has a bit longer learning path and might not be the best first choice for server development unless you have another compelling reason.

Michal Weizman
Michal Weizman
14,050 Points

Thanks for sharing. I appreciate it! Currently, I'm just looking for a way to see this live, so I'm happy to start the course that teaches the language that's considered the easiest (however, I know the answer is probably "it depends on so many things"). Again, if you have any additional thoughts - feel free to share :) and thanks again!

Steven Parker
Steven Parker
231,236 Points

Python is quite likely the fastest path to setting up a server app. But JavaScript/node/Express might come close also.

Michal Weizman
Michal Weizman
14,050 Points

In that case, I'll stay on the "Full stack JS track", and hopefully I'll get some tools in the coming courses. Thanks again for all your help! :)