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.
Deploy and test a proxy - JavaScript Tutorial
From the course: JavaScript: Ajax and Fetch
Deploy and test a proxy
- [Narrator] Now that my proxy code is configured for my needs. I need to Heroku, which will build, execute and host my proxy. So first off, I want to open up the dashboard for my app. So if you're not already there, click your app in your list of apps and then, I'm going to go over and choose deploy. And the deploy section actually gives me step by step instructions for how to deploy using the command line tools. So the first step, if you haven't already done it, is to download and install those command line tools. There is a link right there. I already have those installed, but if you don't, then go ahead and do that now. Now, I'm pretty sure I'm already logged in, but let me check. So that's a Heroku log in, and so back in my terminal, Heroku log in. And so I'm going to press a key. It's going to launch my browser, and since I'm already logged in to Heroku in my browser. All I have to do is click the log in button and that's going to make sure that I'm logged in my command line as…
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)
-