adding route for add movie

This commit is contained in:
2026-07-17 20:37:16 -06:00
parent 111c107474
commit 351affe570
+2
View File
@@ -20,6 +20,8 @@ func main() {
router.GET("/movie/:imdb_id", controller.GetMovie())
router.POST("/movie", controller.AddMovie())
if err := router.Run(":5180"); err != nil {
log.Fatal("failure to start the server")
}