The main repo of Moleculer contains some examples.
This is a simple demo with a Math service which is able to
divide two numbers.
This example demonstrates how the cacher module works.
This example demonstrates how the middleware system works.
This example starts two brokers and communicates together via NATS server.
In this example you can start any servers & clients. The servers serve the
math.add action and clients call it in a loop.
Start a server
Start a client
With this example you can start a load test. The server & client prints how many requests executed in a second.
Start & fork clients (count of CPU cores)
This is a RealWorld.io example application with Moleculer.
- 7 microservices
- NeDB or MongoDB database without Mongoose
- User login & signup
- User authentication with JWT
- Memory caching
- Docker files