Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simsieg/Moleculer-exploration
Demo of the Moleculerjs microservice framework
https://github.com/simsieg/Moleculer-exploration
demo example microservices moleculer moleculerjs nodejs
Last synced: 2 months ago
JSON representation
Demo of the Moleculerjs microservice framework
- Host: GitHub
- URL: https://github.com/simsieg/Moleculer-exploration
- Owner: simsieg
- Created: 2018-08-03T15:32:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T16:02:41.000Z (over 6 years ago)
- Last Synced: 2024-10-30T22:41:43.371Z (2 months ago)
- Topics: demo, example, microservices, moleculer, moleculerjs, nodejs
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-moleculer - moleculer-exploration - Simple microservices communicating via MoleculerJS. (Examples / Repositories)
README
# Moleculerjs Exploration
Simple microservices communicating via moleculerjs.
## Installation
```sh
npm install
```## Run
### Execution
Run, each in a new terminal:
```
node index.js
``````
node users.js
``````
node emailSender.js
``````
node emailTexter.js
``````
node systemTime.js
```### Interaction
Visit http://localhost:3000/users/yourName to create a new User.
In the terminal of `emailSender.js`, your personal Email will be printed.Visit http://localhost:3000/time to get the systemtime.
## Services
| name | description |
|----------------|----------------------------------------------------------------|
| index.js | Exposes an interface to localhost and dispatches the requests. |
| users.js | Creates a new User object. |
| emailSender.js | Creates and Sends Emails. |
| emailTexter.js | Provides contents for Emails. |
| systemTime.js | Provides the time of the system. |