Built from Knawat Moleculer Template
It's a microservice Node.js application, It's demonstrate how to run a simple App with two serivces (api, products) buit on Moleculer Microservices Framework
Start the project with npm run dev
command.
After starting, try to request the products service
curl --location --request GET 'http://localhost:3000/api/products/list'
It will return "products.list"
There is a docker image for this project Docker Hub you can find it on this URL
To run this image run the following command:
docker run -d -p 8080:3000 --env SERVICEDIR=build/services mhm0ud/moleculer
After starting, try to request the products service
curl --location --request GET 'http://localhost:8080/api/products/list'
It will return "products.list"
- api: API Gateway service
- products: Sample service with
list
,update
andget
actions.