Skip to content

Commit

Permalink
Add temporary controller
Browse files Browse the repository at this point in the history
  • Loading branch information
asteriskzie committed Apr 23, 2024
1 parent 3354d2b commit 5035dad
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/snackscription/review/ReviewApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ public class ReviewApplication {

public static void main(String[] args) {
SpringApplication.run(ReviewApplication.class, args);


}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package snackscription.review.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class ReviewController {
@GetMapping("")
public ResponseEntity<String> reviewPage() {
return ResponseEntity.ok().body("Welcome to the review service!");
}
}

0 comments on commit 5035dad

Please sign in to comment.