Configuration
To configure your application, you can modify the following variables in the src/config/...
file:
API
src/config/api.ts
API_ENABLED
: Specifies whether the API is enabled or not. Set it totrue
to enable the API (Or will usepublic/data/api.json
file as a fallback).API_URL
: The URL of the API. By default, it is set tohttp://localhost
.API_PORT
: The port on which the API is running. By default, it is set to3000
.
Templates system
src/config/template.ts
EDITOR_SYSTEM
:ITEMS_PER_PAGE
:
Rendering
src/config/render.ts
SANITIZE_OPTIONS
:
You can adjust these variables according to your specific requirements. The configuration file is located at src/config/...
in your project directory. Make sure to restart your application after modifying the configuration.