Simple REST API for cinema.
- Clone repository to your local environment.
- Run the following command in order to start Postgres DB:
docker run --name cinema -e POSTGRES_PASSWORD=root -p 5435:5432 -d postgres
. - Run the following command in order to run an application:
mvn spring-boot:run
.
-
Implement the REST API for a cinema with 2 controllers (orders, movies)
-
Each controller implements basic CRUD operations.
-
Implement read operations in 2 variations:
- Retrieve by id
- Find All by any parameter of an entity using javax.persistence.criteria and springframework.data.jpa.domain.Specification along with pagination.
-
DB creation should be implemented with Liquibase.
-
Unit tests
-
Integration tests
-
Host your code on GitHub and provide instructions for running it in README file.