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

General Discussion

Alex Forseth
Alex Forseth
8,017 Points

I need some advice on what back-end path I should take to reach my ultimate goal.

I have the goal of creating a e-commerce store for my company. The scope of the website would allow the user to access a login system and product checkout kart. The backend would require a large database of potentialy tens of thousands of model codes.

I am comfortable with Vanilla JS, Jquery, Ajax, HTML & CSS. Using AJAX as a product selection tool for my product database (which has thousands of product model codes) is a strong want.

What would be your recommended course route that would get me from where I am now to my goal the quickest without using an online cms? (I am unfamiliar with online cms like wordpress ect)

1 Answer

Clayton Perszyk
MOD
Clayton Perszyk
Treehouse Moderator 48,850 Points

Hi Alex,

I would look into RESTful routes, which means you'll need backend code that you will use AJAX to communicate with. Since you know vanilla JS, you should look into Node.js and Express.

Here's a tutorial on RESTful routes:

https://www.crondose.com/2016/07/restful-routing-tutorial-developers-guide/

Treehouse has several courses on Node and Express; just checkout the courses listed under JavaScript.