Code Monkey home page Code Monkey logo

spring-cloud-demo's Introduction

spring-cloud-demo

Spring Cloud Demo App

Tech Stack

Find the details of Technology Stack used to develop the Applications in this Demo, with README file TECH-STACK-README.

Project Settings

Common Group ID for All Applications in Spring Cloud Demo

  • Group ID - com.wp.panditmandar.scdemo

The Artifact and Port details for all the Applications are listed in their specific README files ( as mentioned below ).

Services

All Services (except the config-server) have 2 spring profiles as dev and prod.

Upon selection in app-runners the whole application runs in the specific profile as environment.

Infrastructure Services

To know more details about the Infrastructure Services, check the README file APPS-INFRA-README.

API Services

To know more details about the API Services Applications, check the README file APPS-API-README.

Project Settings and Ports

Below is the Table for details about Project Settings and Ports:

  • Infrastructure Applications
Artifact ID Spring App Name Root Package Dev Port Live Port
config-server config-server com.wp.panditmandar.scdemo.configserver 8888 same as Dev
eureka-server eureka-server com.wp.panditmandar.scdemo.eurekaserver 9761 8761
edge-gateway edge-gateway com.wp.panditmandar.scdemo.edgegateway 9050 8250
admin-dash admin-dash com.wp.panditmandar.scdemo.admindash 9090 8290
  • API Services Applications

API Services Applications Can have Multiple Instances (max 3) so those Applications have multiple Ports.

Artifact ID Spring App Name Root Package Dev Port Live Port
book-data-service book-data-service com.wp.panditmandar.scdemo.bookdata 9081/2/3 8281/2/3
book-added-info-service book-added-info-service com.wp.panditmandar.scdemo.bookinfo 9071/2/3 8271/2/3
book-catalog-service book-catalog-service com.wp.panditmandar.scdemo.bookcatalog 9061/2/3 8261/2/3

Execute Demo

To execute the Demo Application, first use the APP-RUNNERS to compile or run the Applications, and then make use of the Postman files to check APIs.

  • With APP-RUNNERS

Read more details on how to compile and run the various services in this Demo with README file APPS-RUN-README.

  • With Postman Client

Use the files from postman-files to run the APIs using a Postman API Testing Tool.

  • Swagger OpenAPI Documentation on API Gateway

Use the URL like http://<host:edge-gateway-port>/webjars/swagger-ui/index.html to run the APIs Swagger OpenAPI documentation in browser.

spring-cloud-demo's People

Contributors

get2mandar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.