Skip to content

Jos3lu/Pizzeberus

Repository files navigation

Pizzeberus: Spring Cloud Project

Microservices

Pizza-read

  • Responsible for managing pizza reads

Pizza-write

  • Responsible for managing pizza writings

User-crud

  • Responsible for managing users

diagramMicroservices.png

Installation

  1. mvn clean install to install the project dependencies
  2. docker-compose up --build to build up Rabbitmq, Zipkin & PostgreSQL
  3. Start the Config Server
  4. Start the Eureka Server
  5. Start the Gateway Server
  6. Start the microservices: pizza-read, pizza-write & user-crud

Documentation

Config Server

  • Store the configurations for all microservices in the application
  • Each microservice doesn't need to store its configuration

Eureka server

  • Service discovery for microservices
  • Contains all the information about client microservices running on which IP address and port
  • Eureka URL

Gateway

  • A simple, yet effective way to route to APIs
  • Retrieve data from multiple services with a single request
  • Gateway URL

Zipkin

  • Distributed tracing
  • Provides mechanisms for sending, receiving, storing & visualizing traces
  • Zipkin URL

Pizza-write API

swaggerPizzaWrite.png

Pizza-read API

swaggerPizzaRead.png

User-crud API

  • Create a new user
  • Modify a user
  • Delete a user
  • Retrieve users
  • Retrieve user by ID
  • Select pizzas as favourites of users
  • Unselect pizzas as favourites of users
  • Swagger User-crud

swaggerUserCrud.png

About

Pizzeberus: Spring Cloud Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages