develop
Register Today!
Fauna logo
Product
Solutions
Pricing
Resources
Company
Log InGet a DemoStart free trial
Fauna logo
Pricing
Customers
Log InGet a DemoStart free trial
© 0 Fauna, Inc. All Rights Reserved.

Related posts

Power Your Developer Experience with AI: Introducing Fauna’s AI AssistantWhy Use Fauna with edge computing?Restore your database to a stable snapshot on demand

Start for free

Sign up and claim your forever free Fauna account
Get started
Netlify fauna

Announcing the Fauna Add-on for Netlify

Matt Freels, Lewis King|Sep 16th, 2019|

Categories:

FeaturesNews
We’re excited to announce the Fauna Add-on for Netlify, which empowers users to create a fully-featured, globally-distributed data back-end for their applications within seconds.
This integration allows users to instantly add Fauna to any Jamstack project managed with Netlify, and to manage the database instance via Fauna Console.

What is Netlify?

Netlify is a unified platform that makes it easy to deploy, scale, and maintain Jamstack websites and apps. Continuous deployment, hosting, serverless functions, forms, and identity, and more are all easy to add to your projects via Netlify’s dashboard and command line tools. Sites on Netlify are extremely fast and secure—the code you deploy gets prebuilt and globally distributed across multiple content delivery networks on multiple clouds to be as close to end users as possible. Netlify replaces servers & maintenance with an automated, productive workflow built for developers.

Add-on Capabilities

The Fauna Add-on for Netlify enables users to seamlessly plug in a globally distributed datastore into their applications with an instant GraphQL backend for Netlify apps, without any provisioning. They can also associate databases with their Fauna account so that they can manage them within Fauna Console.
Once users have a Netlify account, creating a database within your site can be done in using a few simple commands:
npm i netlify-cli -g

mkdir my_project

cd my_project

netlify init
This installs the Netlify CLI tools, and create and initialize a Netlify project.
netlify addons:create fauna
This command creates a Fauna instance for your new site.
netlify addons:auth fauna
This prompts you to sign up with Fauna, or login if you already have an account. Once logged in, you are prompted to name your database and import it into your account. This allows you to interact with your database directly using the Fauna Console.
The complete documentation for this add-on can be found here.

A New Login Option

Users can now also create an account and login to Fauna with their Netlify account credentials using OAuth:
blog post image

Benefits for users of Netlify and Fauna

The Fauna Add-on for Netlify extends the productivity of the serverless experience to application data, something that has been in strong demand within the JAMstack community. Serverless data eliminates all database operations, which has until now been a cumbersome, error-prone and manual effort for developers, and one that required significant upfront planning.
Fauna is the only serverless cloud database with a direct Add-on for Netlify, making it the perfect choice for developers who want to build stateful apps on Netlify. Databases created via the Add-on are available for use instantly via Fauna’s native GraphQL API.
Globally distributed data ensures that data is close to where your users are, thus enabling a snappy user experience for apps deployed on Netlify’s global fabric. Database instances created with this Add-on can be managed via Fauna Console as well as Fauna Shell for hassle-free use.

Conclusion

With this Add-on, anyone using Fauna and Netlify can come up with an idea and launch it immediately, just by focusing on the frontend. Netlify users can use Fauna as a stateful component of their apps with ease, and avail themselves of our generous free tier.
Please visit the Fauna documentation to learn more. And please let us know what you think so that we can incorporate your feedback into a future release.
What other integrations would you like to see implemented in Fauna? Please reach out to me on LinkedIn and our Community Slack and describe any other features that would make Fauna and Netlify an obvious choice for your next project.

If you enjoyed our blog, and want to work on systems and challenges related to globally distributed systems, serverless databases, GraphQL, and Jamstack, Fauna is hiring!

Share this post

‹︁ PreviousNext ›︁

Subscribe to Fauna's newsletter

Get latest blog posts, development tips & tricks, and latest learning material delivered right to your inbox.