-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
15 lines (15 loc) · 942 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This defines the configuration of this application. Each defines a (sub) component that is loaded and
# used for this application. These components can provide specific functionality and define how different
# files in your app are loaded.
rest: true # This provides the HTTP REST interface for all exported resources
graphqlSchema: # These reads GraphQL schemas to define the schema of database/tables/attributes.
files: '*.graphql' # looks for these files
# path: / # exported queries are on the root path by default
fastifyRoutes: # This loads files that define fastify routes using fastify's auto-loader
files: routes/*.js # specify the location of route definition modules
path: . # relative to the app-name, like http://server/app-name/route-name
static: # This allows static files to be directly accessible
root: web
files: web/**
roles: # This can define the roles that are used in the application
files: roles.yaml