Commit c8d0e5e3 authored by Muhammad Suleman's avatar Muhammad Suleman

Initial Commit

parent 703f789b
......@@ -3,12 +3,14 @@ package com.devops.backend.controller;
import com.devops.backend.model.HelloWorld;
import com.devops.backend.service.HelloWorldService;
import java.util.List;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin(origins = "http://localhost:3000")
@RestController
@RequestMapping("helloworld")
public class HelloWorldController {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment