Configuration of the main features
All the main features can be set in the .env file as shown below.
#
Main app configuration#
Database#
JWT#
DYNAMIC APICOL_AUTO_USER_FILTER - When there is a table/API that has a column with the same name as the value assigned to COL_AUTO_USER_FILTER, the data returned from the table/API will be filtered automatically and will show only the data of the logged user.
ROUTE_BASE - you can configure a custom base route. The default value is dynamicapi. Ex: GET / dynamicapi / records / my_table
#
CORSSee the available configuration options: Click here
#
Mail#
Access#
CaptchaGet your credentials at: Google Recaptcha
#
Social- SOCIAL_USER_ROLE_ID_DEFAULT - informs the role id that the user will be inserted in the creation of the user through the login by the social provider. By default, it is 2, referring to the user type role.
To activate social login you must create an application on the respective provider, for example Google, activate GOOGLE_ACTIVE = true, and add the secret keys on GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET.