Skip to content

francoo98/cine-microservicios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cine-microservicios

A microservice architecture to manage a cinema. Each one of the microservices has the purpose of managing its respective domain class. The containers to run are specified in the docker-compose.yml file, it runs each microservice in a separate container.

Microservices

gateway

It was created using spring gateway with the purpose of receving HTTP requests from the clients and routing them to the correct microservices. The routes are defined here.

peliculas

Domain class: Pelicula. It represents a movie.

Endpoints

  1. GET/POST/PUT /api/peliculas
  2. GET/DELETE /api/peliculas/{id}

proyecciones

Domain class: Proyeccion. It represents a movie proyection in a theater.

Endpoints

  1. GET/POST/PUT /api/proyeccions
  2. GET/DELETE /api/proyeccions/{id}
  3. GET /api/proyeccions/hoy Returns a list of Proyeccion that are active the day the request was sent.

salas

Domain class: Sala. It represents a theater in wich Proyeccions can be played.

Endpoints

  1. GET/POST/PUT /api/salas
  2. GET/DELETE /api/salas/{id}

butacas

Domain class: Butaca. It represents a seat in a Proyeccion.

Endpoints

  1. GET/POST/PUT /api/butacas
  2. GET /api/butacas/{id}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published