GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Devisjs/Devis-Examples: Runnable examples for the Devis microservices framework: TCP, MongoDB, Redis, RabbitMQ

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
balance
balance
 
 
local
local
 
 
mongodb
mongodb
 
 
rabbitmq
rabbitmq
 
 
redis
redis
 
 
tcp
tcp
 
 
test
test
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package.json
package.json
 
 

Repository files navigation

Devis examples

Runnable examples for the Devis microservices framework.

CI

Node.js 22 or later is required.

npm install
Example What it shows Run
local register and call a pattern in one process node local/index.js
tcp call a microservice over TCP node tcp/service.js, then node tcp/client.js
balance spread calls over two instances of a service PORT=3031 node balance/service.js, PORT=3032 node balance/service.js, then node balance/client.js
mongodb store and read documents with devis-mongo-client node mongodb/index.js
redis publish and subscribe with devis-pub_sub-redis node redis/index.js
rabbitmq call a microservice through RabbitMQ with devis_rabbitmq node rabbitmq/server.js, then node rabbitmq/client.js

The plugin examples expect local servers. MONGO_URL, REDIS_URL, RABBITMQ_HOST and RABBITMQ_PORT override the defaults. To start them with Docker:

docker run -d -p 27017:27017 mongo:7
docker run -d -p 6379:6379 redis:7-alpine
docker run -d -p 5672:5672 rabbitmq:4-alpine

npm test runs every example and checks its output.

To scaffold a new project instead, use generator-devis.

The former Library application was removed: it relied on the Devis 1 API, Wakanda and AngularJS, which no longer work.

About

Runnable examples for the Devis microservices framework: TCP, MongoDB, Redis, RabbitMQ

github.com/Devisjs/devis

Topics

devisexamplesmicroservicesmongodbnodejsrabbitmqredis

Resources

Readme
Activity
Custom properties

Stars

9 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.