apply .gitignore clean-up

Change-Id: Idd0b57a7340f0e62c85090d84c4fdb8cb5d6fe00
diff --git a/src/main/java/com/example/myproject/controller/SeedRatingController.java b/src/main/java/com/example/myproject/controller/SeedRatingController.java
new file mode 100644
index 0000000..16e0b22
--- /dev/null
+++ b/src/main/java/com/example/myproject/controller/SeedRatingController.java
@@ -0,0 +1,26 @@
+package com.example.myproject.controller;
+
+import com.example.myproject.service.SeedRatingService;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.Map;
+
+@RestController
+@RequestMapping("/echo/ratings")
+public class SeedRatingController {
+
+    private final SeedRatingService ratingService;
+
+    public SeedRatingController(SeedRatingService ratingService) {
+        this.ratingService = ratingService;
+    }
+
+    @PostMapping
+    public Map<String, Object> submitRating(
+            @RequestParam("userId") Long userId,
+            @RequestParam("seedId") Long seedId,
+            @RequestParam("score") Integer score
+    ) {
+        return ratingService.rateSeed(userId, seedId, score);
+    }
+}
\ No newline at end of file