Skip to content

golichenko02/Cinema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CINEMA API

Simple REST API for cinema.

How to run an application

  • 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.

Requirements:

  • 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.

About

Simple cinema API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages