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 - JavaScript Tutorial
From the course: JavaScript: Ajax and Fetch
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Why are proxy servers necessary?3m 5s
-
(Locked)
Tools: Git, GitHub, and Heroku50s
-
(Locked)
Set up an app on Heroku2m 37s
-
(Locked)
Configure proxy options5m 9s
-
(Locked)
Deploy and test a proxy5m 58s
-
(Locked)
Configure proxy security6m 38s
-
(Locked)
Challenge: Customize code for an Ajax proxy1m 20s
-
(Locked)
Solution: Customize code for an Ajax proxy5m 56s
-
(Locked)
-