- Java
- Spring Boot
- Maven
- PostgreSQL
- Lombok
- Clone the repository.
- Make sure you have Java and Maven installed.
- Set up the PostgreSQL database and update the
application.properties
file with the correct database configurations. - Run the application using Maven:
mvn spring-boot:run
.
GET /movies
: Get all movies.GET /movies/{name}
: Get movies by title.GET /movie/random
: Get a random movie.GET /movie/{id}
: Get movie details by ID.POST /like
: Create a like for a movie.DELETE /unLike
: Remove a like for a movie.POST /comment
: Add a new comment.GET /comments/{movieId}
: Get all comments for a specific movie.
- The project uses Lombok for reducing boilerplate code.
- The application.properties file contains database configuration.
- The project follows a service-controller-repository structure.