Skip to content
AGenson edited this page Mar 4, 2018 · 11 revisions

moleculer-mysql-template

Moleculer template for creating a web api, with a remote MySQL database.

This template is based on moleculer, using:

Description

This adapter overwrites the one from moleculer-db:

  • So less functionalities
  • But some are added (like multi-table management per service).

For now the actions are very limited, but when understanding the adapter, you can change it to add your own features.

It is more an example of usage than a template, but you can :

  • Change as you want the tables' model
  • Create your own services (just be sure to keep the configuration described in Usage)
  • Change API routes to your own purpose
Clone this wiki locally