package rs.ac.uns.acs.nais.DemoApplication.controller;

import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping
    public String hello() {
        return "Hello from Demo Application!";
    }
    
    //TODO: otkomentarisati
    //@GetMapping("/everyone")
    //public String helloEveryone() {
    //    return "Hello everyone!";
    //}
}

