backoffice microservice example powered by tom-microservice.
You need to install the project dependencies with npm install.
Then you are ready to run tom 🐶.
Your configuration project live at tom.config.js.
Under the hood we are using config for differenciate between development and production credentials.
Every time a command is executed, it emits an event.
You can use these events for connecting the service with your specific code.
Read Event System section at docs for knowing more.
Just run npx tom passing the flags for execute a certain command, for example:
npx tom --command=notification.email --templateId=summary --to=leo@hyperping.io --username=LeoYou can use tom --help or see scripts to see it in action.
Running npm run dev start a development HTTP server in your machine.
Execute for started a HTTP server in your machine. The server has hot reloading.
The service is almost production ready. You need to provide the Environment Variables for:
- Stripe API Key used by
paymentcommands - Email credentials used by
notification:emailcommands.
After that, just run your service with npm start 🎉.


