Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

microcule examples

This folder contains several unique examples and ways to run / use microcule.

Using microcule CLI to spawn server

To use the microcule CLI to start one of these examples, simply run:

microcule ./examples/services/echo/echo.js

You can change the path argument to any of the services found in ./examples/services

Create custom stand-alone servers

The microcule CLI spawns an HTTP server bound to the service argument.

If you wish to create a custom HTTP server, you can run any of the following examples:

node express-plugins.js
node express-simple.js
node http-server-simple.js

These examples show how to use microcule as an HTTP middleware in Express or any standard Node.js HTTP server.

60+ Microservice Examples using Microcule

see: https://github.com/Stackvana/microcule-examples