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

How do I set up a web server when working with JavaScript?

I feel like I've seen a course on Treehouse somewhere that showed how to do this, but now I can't find it. I just finished learning about AJAX basics, and the instructor says many times that you need a web server to work with AJAX, but never shows how to set up a web server.

I've even googled "how to set up a web server" and haven't been able to find any satisfactory results. Anyone here know of a good resource that teaches how to do this?

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

There's a workshop here on Treehouse that teaches how to deploy to Heroku which is a fairly popular PaaS (Platform as a Service). I believe it supports AJAX.

You can find the workshop here

Good luck! :sparkles:

edited for additional note

This workshop is specifically for node, but I would expect that the information gained there could be extrapolated to your project :smiley:

Jennifer,

Thank you so much! I'm doing the Full Stack JavaScript track and am just starting on Node.js so maybe I should've just been patient as my question looks like it'll be covered later. :) Thanks again!