Git Product home page Git Product logo

spring-blog-microservices's Introduction

Spring Blog Microservices

Blog backend application with micro-services architecture & asynchronous communications using Kafka & Oauth2 Security & Hystrix & ELK

Instruction

  • Install docker in your local machine, go to dir where you store docker-compose file, and run docker-compose up -d to install and run containers
    (you need to config docker compose based on your preferences)
  • Go to config folder, and add host names to your local machine at /etc/hosts
  • Make sure you have jdk8 and tomcat running in your local machine
  • Import the project to your Jetbrain Intellij IDEA to run those microservices

Modules

  • eureka-server: the server providing service registry and discovery
  • auth-server: Oauth2 Authorization server
  • user-server: the server providing login, register, change password features
  • blog-server: the server providing blog business service;
  • email-server: the server used for sending email to user
  • file-storage-server: the server used for uploading and downloading files
  • zuul-gateway: api gateway

Test Api

  • all requests should go to gateway which is localhost:10000, base on which server you want access, include prefix such as "blog" to access blog server (for example: http://localhost:10000/blog/~)

Note Documentation not finish yet, if you want test apis, please check gateway config. and apis defined inside each controllers in microservices

spring-blog-microservices's People

Contributors

johnwei417 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

norayu

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.