From the course: Building APIs with Swagger and the OpenAPI Specification

Unlock the full course today

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

API server setup

API server setup - REST Tutorial

From the course: Building APIs with Swagger and the OpenAPI Specification

Start my 1-month free trial

API server setup

- [Instructor] Once we've provisioned a new VM we'll need to stand up our API implementation. To do that, we'll need to run the jar file on the server using Java and set up DNS resolution. So the first thing we'll do is FTP the jar file over to our new VM. So if we navigate into the VM that we provisioned, you can find the IP address for the server. Go ahead and copy that and use that IP You'll notice on the left hand side, I am logged in on the local workstation then our hsports-catalog-server project packaged in a jar file. Within Azure, we can scroll down on the sidebar of the VM console and you'll see that we can open up a shell using the serial console. to make a little bit easier for you to see. Okay, it's going to prompt us to login, named api in the root of the server and then we're going to navigate into that directory and at this point, we can copy the jar file from the temp directory into our api directory. from the temp directory into our api directory. Now we need to…

Contents