Dendra backend services. Built using Moleculer (https://moleculer.services/).
888
This is a Moleculer-based microservices project. Generated with the Moleculer CLI.
Start the project with npm run dev command.
After starting, open the http://localhost:3000/ URL in your browser.
On the welcome page you can test the generated services via API Gateway and check the nodes & services.
In the terminal, try the following commands:
nodes - List all connected nodes.actions - List all registered service actions.call greeter.hello - Call the greeter.hello action.call greeter.welcome --name John - Call the greeter.welcome action with the name parameter.hello and welcome actions.npm run dev: Start development mode (load all services locally with hot-reload & REPL)npm run start: Start production mode (set SERVICES env variable to load certain services)npm run cli: Start a CLI and connect to production. Don't forget to set production namespace with --ns argument in scriptnpm run lint: Run ESLintnpm run ci: Run continuous test mode with watchingnpm test: Run tests & generate coverage reportnpm run dc:up: Start the stack with Docker Composenpm run dc:down: Stop the stack with Docker ComposeMake this project directory the current directory, i.e. cd dendra-backend.
Build the project docker build -t dendra:dendra-backend ..
Tag the desired image, e.g. docker tag f0ec409b5194 dendra/dendra-backend:latest.
Push it via docker push dendra/dendra-backend.
Content type
Image
Digest
sha256:d1aaf1510…
Size
378.9 MB
Last updated
almost 2 years ago
docker pull dendra/dendra-backend