Services are functions dedicated to the specific functionality. Currently, there are 2 services:

  • Email service (sending emails using your email address and server)
  • Payment (all logic related to the payment)

How to add your own service

It's very easy:

  1. Create a folder under /src/shared/services.
  2. Create a python file inside the folder.
  3. If you need the service to be initialized during starting the application, create the following function inside the

def init_app(app): # your init code

This init_app function will be called automatically, during the primary initialization of application.