#graphql #serverless #authentication

diana-aws-lambda

The integration between Diana GraphQL and AWS Lambda (including its derivatives, like Netlify)

10 releases

0.2.9 Aug 3, 2021
0.2.8 Jul 11, 2021
0.2.1 Jun 30, 2021
0.1.0 Jun 30, 2021

#1253 in HTTP server

MIT license

85KB
971 lines

Diana Integration for AWS Lambda and Derivatives

This is Diana's integration crate for AWS Lambda and its derivatives (like Netlify), which enables the easy deployment of a Diana system on those platforms. For more information, see the documentation for Diana and the book.

This crate can be used to create handlers for AWS Lambda itself, or any system that wraps it, like Netlify. Handlers created with this crate will compile, but will not run without being deployed fully. In development, you should use something like Actix Web (and its Diana integration) to deploy a serverful system for queries and mutations, which you can more easily work with. When you're ready, you can switch to this crate without changing any part of your schema logic. Full examples are in the book.


lib.rs:

This is Diana's integration crate for AWS Lambda and its derivatives (like Netlify), which enables the easy deployment of a Diana system on those platforms. For more information, see the documentation for Diana and the book.

This crate can be used to create handlers for AWS Lambda itself, or any system that wraps it, like Netlify. Handlers created with this crate will compile, but will not run without being deployed fully. In development, you should use something like Actix Web (and its Diana integration) to deploy a serverful system for queries and mutations, which you can more easily work with. When you're ready, you can switch to this crate without changing any part of your schema logic. Full examples are in the book.

Dependencies

~32–49MB
~1M SLoC