Code Monkey home page Code Monkey logo

spring-cloud-sample's Introduction

spring-cloud-sample Java Spring Gradle😎

Spring MSA architecture Sample Project

Welcome to the Spring Cloud Microservices Project! This project is designed to demonstrate the implementation of microservices architecture using Spring Cloud in a multi-module Gradle project. The project is structured to include Eureka Server, Config Server, and Gateway Server.

Config Git Here GitHub

Project Structure

The project is organized into the following modules:

  • eureka-server: Eureka Server module responsible for service registration and discovery.
  • config-server: Config Server module handling externalized configuration for microservices.
  • gateway-server: Gateway Server module serving as the entry point for all microservices.
  • dummy-api-server: This is a dummy API server for testing.

Prerequisites

Make sure you have the following prerequisites installed:

  • Java 17
  • Gradle
  • Lombok plugin for your IDE (for annotation processing)

Getting Started

To build and run the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/spring-cloud-sample.git
    cd spring-cloud-sample
  2. Build the project:

    ./gradlew build
  3. Run the Eureka Server:

    ./gradlew :eureka-server:bootRun
  4. Run the Config Server:

    ./gradlew :config-server:bootRun
  5. Run the Gateway Server:

    ./gradlew :gateway-server:bootRun
  6. Run the Dummy API:

    ./gradlew :dummy-api:bootRun

Now, you have the extended microservices architecture up and running locally.

Project Dependencies

  • Spring Boot: Rapid application development platform for building stand-alone, production-grade Spring-based applications.
  • Spring Cloud: Set of tools for building and orchestrating microservices.
  • Lombok: Library simplifying Java code and eliminating boilerplate code for better readability.

Additional Information

  • For detailed documentation and guides, refer to the Spring Cloud Documentation.
  • Explore each module's build.gradle file for specific dependencies and configurations.

Feel free to contribute, report issues, or provide feedback. Happy coding! πŸš€

spring-cloud-sample's People

Contributors

dongju-na avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

spring-cloud-sample's Issues

#1 to-do

  1. μŠ€ν”„λ§ 더미 api μ„œλΉ„μŠ€ ꡬ좕
    1-1. ν…ŒμŠ€νŠΈμ½”λ“œ κΌ­ μž‘μ„±
  2. κ²Œμ΄νŠΈμ›¨μ΄ μ„€μ •
  3. λ‘œλ“œλ°ΈλŸ°μ‹± ν…ŒμŠ€νŠΈ
  4. μ½˜ν”½ μ„€μ • refresh ν…ŒμŠ€νŠΈ
  5. μŠ€ν”„λ§ν΄λΌμš°λ“œλ²„μŠ€ ꡬ좕

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.