From the course: Agile Software Development: Pair and Mob Programming

Unlock the full course today

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

Scenario: "Hello World service" in Ballerina

Scenario: "Hello World service" in Ballerina

From the course: Agile Software Development: Pair and Mob Programming

Start my 1-month free trial

Scenario: "Hello World service" in Ballerina

- Hey Chooki and Yosh ready to keep going and learning? - [Both] Yeah. - Great, well, we saw some basic stuff but we're going to get into the core which is services. So let's dive into that. Right here. And, you can see that you've got a service. So, rather than reading the code, let's just run it. Okay? - Okay! - So in order to do that let's go ahead and right click right here. And then, do you guys remember how to run a ballerina file? - Ballerina run? - Let's try it. - Okay, ballerina run and then I think that is the file we need, let's see. - Great, now this one didn't return to Hello World. It returned an endpoint so what we're going to do is we're actually going to see if we can hit that endpoint and then we'll get a Hello World back. So we're going to just copy this. And then we're going to get a new terminal here and we're going to paste it, and then go ahead and hit enter. Great! - Hello World. - [Yosh] Hello World. - Okay, so super cool. So, I'm sure you have some questions…

Contents