Giter Site home page Giter Site logo

sunquakes / moonquakes Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 10.42 MB

A rpc framework that Java/PHP(hyperf)/Golang intercommunicate implementation of JSON-RPC 2. Support consul & nacos.

Home Page: https://www.moonquakes.io/

License: Apache License 2.0

Java 19.60% PHP 63.70% Dockerfile 5.33% Go 5.59% TypeScript 5.78%
java php go jsonrpc demo hyperf jsonrpc2 jsonrpc4j springboot jsonrpc4go

moonquakes's Introduction

English | πŸ‡¨πŸ‡³δΈ­ζ–‡

moonquakes

moonquakes logo

GitHub go.mod Go version (subdirectory of monorepo) Maven Central Php Version GitHub Docker Image Version (latest by date)

Documentation

Visit moonquakes.io.

Description

Moonquakes is a demo project. It show how to intercommunicate in use of jsonrpc protocol in some web framework, those web framework is written by java, php or golang.

In moonquakes, the java framework is springboot, it use jsonrpc4j to communicate with go and php framework; The php framework is Hyperf, it has own jsonrpc component to communicate with go and java framework; The go framework use jsonrpc4go to communicate with java and php framework.

Getting started

IP

  • Use ip.
# Clone code.
git clone [email protected]:sunquakes/moonquakes.git

cd moonquakes

# Switch to branch main.
git switch main

# Build image.
docker-compose build

# Run docker container.
docker-compose up

Registration & Discovery

  • Use consul.
# Clone code.
git clone [email protected]:sunquakes/moonquakes.git

cd moonquakes

# Switch to branch consul.
git switch consul

# Build image.
docker-compose build

# Run docker container.
docker-compose up
  • Use nacos.
# Clone code.
git clone [email protected]:sunquakes/moonquakes.git

cd moonquakes

# Switch to branch nacos.
git switch nacos

# Build image.
docker-compose build

# Run docker container.
docker-compose up

moonquakes's People

Contributors

sunquakes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

markusbkk

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.