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

Deploy and test a proxy - JavaScript Tutorial

From the course: JavaScript: Ajax and Fetch

Start my 1-month free trial

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…

Contents