Skip to content

MarcinU2K/media-rental-microservices

Repository files navigation

movie-rental-microservices

This is an example of Java-Based Microservices with Spring Boot, Spring Cloud and Docker. Each of the services run with separate, dedicated Mongo database.

Tech stack used:

  • Java EE 8
  • Angular 2
  • Microservice Architecture Pattern
  • Spring Boot
  • Spring Cloud
  • Spring Security / Auth0 / JWT
  • Spring Data JPA
  • Docker
  • REST
  • Json
  • Maven

PREREQUISITES:

  1. Install Docker and Docker Compose
  2. Export environment variables: export MONGODB_PASSWORD='MONGODB_PASSWORD' export CONFIG_SERVICE_PASSWORD='CONFIG_SERVICE_PASSWORD' export ACCOUNT_SERVICE_PASSWORD='ACCOUNT_SERVICE_PASSWORD' export MOVIE_SERVICE_PASSWORD='MOVIE_SERVICE_PASSWORD' export RENT_SERVICE_PASSWORD='RENT_SERVICE_PASSWORD'

RUNNING:

  1. Run makedocker_local.sh
  2. Run docker-compose (docker-compose up > logz.log &)
  3. See logs (tail -f logz.log)
  4. Once all services are up and running go to localhost and create an account ;)

IMPORTANT ENDPOINTS:

CONTACT:

marcinu2k@gmail.com