10 lines
456 B
Markdown
Raw Normal View History

2016-04-04 21:51:00 +02:00
# Services
2016-03-22 18:11:11 +01:00
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:
```bash
2016-03-25 22:22:34 +01:00
$ strapi generate:service sendEmail email
2016-03-22 18:11:11 +01:00
```