GithubHelp home page GithubHelp logo

microservices's Introduction

This project is based on Microservice architecture.

Technoly Used

Spring Boot and Spring Cloud

Language JAVA

MySQL and MSSQL database

If you prefer video then there is separate YouTube video for each component of this project.

Services

  1. About microservice architecture with example
  2. Developing Spring Boot Application from scrach
  3. student microservice using MySQL database
  4. course microservice using MS-SQL database
  5. API Gateway- Spring Cloud Gateway
  6. Eureka Server
  7. Calling one microservice from another microservice using application name - RestTemplate
  8. Calling one microservice from another microservice using application name - WebClient
  9. Circuit Breaker - Resilience4j
  10. Spring Cloud sleuth
  11. Spring Cloud Zipkin
  12. Spring Cloud Config Server
  13. Spring Cloud Config client
  14. RefreshScope to load configuration properties value from Config Server

How to start this project

  1. Install JAVA, Maven, MySQL database, MS-SQL database : If you do not want to use database then you have to remove JPA and respective DB dependency from student and course microservice's pom.xml file
  2. Download complete code from this repository and then import in your desired code editor (Eclipse or IntelliJ IDEA)
  3. After installing database create user and databse to be used in student and course microservice. Refer this video to create user and database in MySQL. and this video to create user and database in MS-SQL.
  4. Make sure you have created correct databse and given proper role to user as per shown in video.

Runing project

  1. First of all run Eureka registry server (After successful running you can see Eureka dashboard at URL http://localhost:8083/ )
  2. Then Spring Gateway
  3. Then Config server
  4. Then student microservice and
  5. Then course microservice
  6. After all services running successful you should be able to see all above services registered on Eureka at URL : http://localhost:8083/
  7. Then Open Postman and hit Rest API endpoints discussed in Video.

Thanks.

microservices's People

Contributors

nakeshsingh 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.