Tech-alok / MovieRest

Restful CRUD API to maintain movies and actors relationship using Spring Boot, Mysql, JPA and Hibernate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restful CRUD API to maintain movies and actors relationship using Spring Boot, Mysql, JPA and Hibernate

Actor

GET /actors

POST /actors

GET /actors/{actorId}

PUT /actors/{actorId}

DELETE /actors/{actorId}

Movie

GET /movies

POST /movies

GET /movies/{movieId}

PUT /movies/{movieId}

DELETE /movies/{movieId}

Association between Actors and Movies

PUT /actors/{actorId}/movies

DELETE /actors/{actorId}/movies

PUT /movies/{movieId}/actors

DELETE /movies/{movieId}/actors

Example of Request body for association, adding movies to a actor

PUT /actors/{actorId}/movies

{ "movies" : [] //list of movieIds }

About

Restful CRUD API to maintain movies and actors relationship using Spring Boot, Mysql, JPA and Hibernate.


Languages

Language:Java 100.0%