.jsonfiles define and configure specific components in your app. Every JSON configuration file conforms to a specific schema for the type of component it configures.
.jsfiles define serverless application logic used in functions, triggers, HTTPS endpoints, and custom resolvers.
You'll work directly with configuration files if you prefer to develop and deploy locally instead of through the Realm UI.
A complete directory of configuration files has the following root-level files and directories:
app/ ├── realm_config.json ├── auth/ ├── data_sources/ ├── environments/ ├── functions/ ├── graphql/ ├── hosting/ ├── http_endpoints/ ├── log_forwarders/ ├── services/ ├── sync/ ├── triggers/ └── values/
For detailed descriptions and examples of each component type's configuration and source code files, refer to the type's page in this section: