Skip to content
Anthony Genson edited this page Apr 29, 2018 · 11 revisions

Moleculer logo

moleculer-mysql-template

Moleculer template for creating a secure web api, with a remote MySQL database, and a default account management.

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 (cf - moleculer-web for more details)

New

  • Securing the API with an authentification process (password / tokens)
  • Create, manage or delete user accounts
  • ADMIN priviledge management
Clone this wiki locally