mirror of
https://github.com/strapi/strapi.git
synced 2025-07-22 16:37:13 +00:00
456 B
Executable File
456 B
Executable File
Services
Services can be thought of as libraries which contain functions that you might want to use in many places of your application. For example, you might have an sendEmail
service which wraps some default email message boilerplate code that you would want to use in many parts of your application.
For example you can generate a service named sendEmail
for the email
API using the CLI:
$ strapi generate:service sendEmail email