Import required services
Last updated
Was this helpful?
Last updated
Was this helpful?
users
mongoose service to manage users collection
me allow the user to get and patch itself
authManagement handle user verify password, reset and more,
notifier(Not exposed to the client) used by authManagement service to send the right email to the user to verify password, changed password message...
mailer(Not exposed to the client) **used by notifier** to send mail to user
rules mongoose service to manage rules collection OPTIONAL - if you didn't need dynamic rules then you didn't need to import this service
uploads(Not exposed to the client) upload file to aws/google/local folder
files mongoose service to manage files collection, upload the file with the uploads service
dashboard A dashboard for managing your app
userAbilities Provides user permissions information
Open src > services >index.js
Copy the content from the code snippet