From the course: JavaScript: Ajax and Fetch

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure proxy options

Configure proxy options - JavaScript Tutorial

From the course: JavaScript: Ajax and Fetch

Start my 1-month free trial

Configure proxy options

- [Instructor] Next, I need to build out the code for the proxy itself. I've created a project on GitHub that's a basic proxy server. It's customizable for a wide variety of uses. For the Explore California contact page, I'll clone this repo and customize it for my needs, and then deploy it to Heroku. To clone a repo from GitHub, I'd click the green clone or download button, and then I'll click the copy icon next to the text box, which copies it to my clipboard. My next stop is the terminal app. I'm in a Mac so, I'm using terminal, and if you're in Linux that's pretty straight forward. If you are using Windows, you need to make sure you're in the correct application that allows you access to Git. I want to cd to the exercise files folder for this course, so, I'm going to type cd, then I can switch over to finder, grab that folder and drag it up here, and it'll give me that path. Just a super helpful little shortcut. So, I'm going to clone this repo into my exercise files folder, but…

Contents