Code Monkey home page Code Monkey logo

java_springcloud_eureka_zuul_config_kafka_oauth2jwt_proxydiscovery_restcrud's Introduction

Table of Contents

Introduction

Micro-service application with Eureka, Config Server, Zuul, Proxy based on DiscoveryClient Bean, Kafka(producer-consumer), and Rest Crud. You have to run a kafka on localhost:9092 before launching this instances, since the microservices rely on config server and eureka. The order of launch should be:

  1. Eureka
  2. Config Server
  3. OAuth Authorization Server that issues JWT
  4. Todo Service (It is also a OAuth Resource Server)
  5. Proxy Service
  6. Mail Service
  7. Zuul Gateway Service

The only requirement are the first two, the others you can launch them in any order, but I strongly recommend you to launch Gateway service the last, otherwise you may have to wait Zuul to fetch from Eureka the next time and hopefully the other microservices he routes through are now available.

I included the requests.postman_collection.json file which you can import into postman and issue the requests by yourself.

About Key pair

This project uses Asymmetric cryptography.

  • To create the private key used to sign the keys by the oauth-server I did: keytool -genkeypair -alias melardev -keyalg RSA -keysize 2048 -keystore private.jks -validity 3650
  • export public key from jks, this will be used by resource-server to validate tokens without having to contact the oauth-server keytool -list -rfc --keystore private.jks | openssl x509 -inform pem -pubkey -noout -out public.pem

Full-stack Applications

Simple Crud

Server side implementations

Microservices

Client side implementations

The next come are

  • Angular NgRx-Store
  • Angular + Material
  • React + Material
  • React + Redux + Material
  • Vue + Material
  • Vue + Vuex + Material
  • Ember
  • Vanilla javascript

Crud + Pagination

Server side implementations

MicroServices

The next come are

  • NodeJs Express + Knex
  • Flask + Flask-Restful
  • Laravel + Fractal
  • Laravel + ApiResources
  • Go with Mux
  • AspNet Web Api 2
  • Jersey
  • Elixir

Client side implementations

The next come are

  • Angular NgRx-Store
  • Angular + Material
  • React + Material
  • React + Redux + Material
  • Vue + Material
  • Vue + Vuex + Material
  • Ember
  • Vanilla javascript

Auth Jwt + Crud

Server side implementations

Auth Jwt + Crud + Pagination

Server side implementations

Client side implementations

E-commerce

Server side implementations

The next to come are:

  • Spring Boot + Spring Data Hibernate + Kotlin
  • Spring Boot + Jax-RS Jersey + Hibernate + Kotlin
  • Spring Boot + mybatis
  • Spring Boot + mybatis + Kotlin
  • Asp.Net Web Api v2
  • Elixir
  • Golang + Beego
  • Golang + Iris
  • Golang + Echo
  • Golang + Mux
  • Golang + Revel
  • Golang + Kit
  • Flask + Flask-Restful
  • AspNetCore + NHibernate
  • AspNetCore + Dapper

Client side implementations

This client side E-commerce application is also implemented using other client side technologies:

Blog/CMS

Server side implementations

Client side

The next come are

  • Angular NgRx-Store
  • Angular + Material
  • React + Material
  • React + Redux + Material
  • Vue + Material
  • Vue + Vuex + Material
  • Ember

Social media links

  • Youtube Channel I publish videos mainly on programming
  • Blog Sometimes I publish the source code there before Github
  • Twitter I share tips on programming
  • Instagram I share from time to time nice banners

java_springcloud_eureka_zuul_config_kafka_oauth2jwt_proxydiscovery_restcrud's People

Contributors

melardev avatar

Stargazers

 avatar

Watchers

 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.