Package Exports
- autoserver
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (autoserver) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This is a web server engine.
You simply pass a single declarative file as input, and a full-featured GraphQL server will start.
Features
- standard-compliant HTTP server
- GraphQL endpoint, including introspection, interactive debugger and schema printing
- CRUD actions: find, create, update, replace, upsert, delete. Each action can be performed on a single model or on several models.
- nested actions and populating between models, including for mutations
- filtering, which can use custom logic
- sorting
- selecting
- pagination
- dry runs
- silent outputs
- input validation
- default values
- aliases
- transformation on input, e.g. for normalization
- computed values,
e.g.
name = first_name + last_name - authorization
- automatic attributes:
created_time,updated_time,created_by,updated_by - custom JavaScript logic and plugins
- extensive error handling and logging capabilities
- performance monitoring
- request timeout
Missing features
See the roadmap.
Starting the server
See here.
Client queries
You can learn how to perform queries against this server here
Contribute
See here.