Skip to content

MicheleCarta/videostore

Repository files navigation

video-store-service

Building



LOCAL DEVELOPMENT

TESTING MODULE

The first time, you should do a ./build.sh as the produced jars are mounted in to the docker-compose stack.

# ... run rabbitmq and postgres
docker-compose up

# ... properly destroy
docker-compose down --volumes --remove-orphans
RUN THE SERVICE

The first time, you should do a ./gradlew bootRun as the produced jars are mounted in to the docker-compose stack.

./gradlew bootRun

Manual

  • Add Movie
  POST: /v1/movie/
  { 
  "title":"some title new2",  
  "description":"desc movie bla bla bla",
  "category": "Fantasy",
  "yearProduction":"2021",
  "yearReleased":"2022",
  "monthReleased":"5",
  "casting":"Tom,Jerry, willie, minnie",
  "rating": 0,
  "directors":[3,5]
}
  • Add Director
  POST: /v1/movie/
  {
    "name": "Stephen",
    "surname": "Spielberg",
    "bDay": "1950-01-02T12:34:56Z"
  }
  • Add Director
  POST: /v1/movie/
  {
    "name": "Stephen",
    "surname": "Spielberg",
    "bDay": "1950-01-02T12:34:56Z"
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages