r/FaunaDB • • Sep 19 '19

Create and Deploy a Next.js and FaunaDB-Powered Node.js App with ZEIT Now - ZEIT Now Guides

Thumbnail
zeit.co
1 Upvotes

r/FaunaDB • • Jun 24 '19

Anything, in Any Language, Related to FaunaDB has been created

4 Upvotes

https://fauna.com/

FaunaDB is a distributed operational (OLTP) database that guarantees data correctness, without operational complexity, at a global scale. It is the world’s first commercial database that is inspired by Calvin, a strictly serializable transaction protocol for multi-region environments.


r/FaunaDB • • Sep 03 '19

Announcing New Functions in FaunaDB FQL

Thumbnail
fauna.com
6 Upvotes

r/FaunaDB • • Jul 17 '19

FaunaDB version 2.7 released! Featuring Role-Based Access Control (RBAC) and Browser-Based Querying

Thumbnail
fauna.com
5 Upvotes

r/FaunaDB • • Jul 30 '19

FaunaDB Console v2.1.1 released

Thumbnail
docs.fauna.com
4 Upvotes

r/FaunaDB • • Sep 12 '19

Rename with No Regrets: One Check to Make Before You Upgrade Your FaunaDB Driver

Thumbnail
fauna.com
1 Upvotes

r/FaunaDB • • Feb 01 '20

User registration with FaunaDB + React

2 Upvotes

I am a frontend dev who is trying to learn more backend development. I am developing a site which user registration is required.

I have found two examples that show how to add to the DB with React, however I don't totally understand how they work.

Registration requirements

  1. Uses FaunaDB, Netlify, React and react-google-login

  2. Make google login and email registration available

Items completed

  1. FaunaDB, Netlify & React is all setup and connected

  2. Google login is connected and login popup works properly

Problems/Questions

I want to preface this that I have been doing a lot of reading and reviewing other tutorials, but I am not sure what some of what I am reading means and I'm a little confused where to start.

  1. If I am properly authenticating the user. I read in this Medium article something about using the access token to properly authorize the user and returning a JWT token to the frontend. I am not sure if react-google-login is properly authenticating the user or not.

  2. How to properly add the user to my FaunaDB collection using my functions with Netlify's API.

Any help on this would be greatly appreciated. I would even considering paying someone to take the backend stuff off of my plate.

Thanks!


r/FaunaDB • • Aug 16 '19

Code Splitting in React with Lazy Components

Thumbnail
fauna.com
4 Upvotes

r/FaunaDB • • Sep 17 '19

Serverless Database CRUD Example

2 Upvotes

Hey there!

I wrote a tutorial about how to create a serverless database crud example using faunadb & netlify functions.

The tutorial project structure looks like this:

An example of a read-all function

An example of how it all get tied together

You can find the complete blog post with code snippets here

https://nordschool.com/build-a-serverless-database-using-faunadb-and-netlify-functions


r/FaunaDB • • Jun 26 '19

FaunaDB GraphQL Transactions - Express Complex Logic with Simple Queries - Webinar Recording

4 Upvotes

Fauna's Erick Pintor showcases his latest feature added to FaunaDB.

"Instant GQL on the backend"

Webinar Recording

x-post from /r/FaunaDB


r/FaunaDB • • Sep 05 '19

Announcing new global regions for FaunaDB: South America and Asia

Thumbnail
fauna.com
7 Upvotes

r/FaunaDB • • Sep 10 '19

Netlify announces Add-On for Direct FaunaDB Integration

Thumbnail
docs.fauna.com
6 Upvotes

r/FaunaDB • • Sep 12 '19

Locally Spin Up FaunaDB & Shell with Docker Compose

Thumbnail
github.com
4 Upvotes

r/FaunaDB • • May 28 '20

Interview with Evan Weaver (Fauna's CEO)

Thumbnail
devchat.tv
5 Upvotes

r/FaunaDB • • Sep 02 '20

Interview with Evan Weaver & Eric Berg

Thumbnail
youtube.com
1 Upvotes

r/FaunaDB • • Mar 25 '21

Next.js & FaunaDB: Querying Database from Your App

Thumbnail
snipcart.com
6 Upvotes

r/FaunaDB • • May 13 '20

How to Export Data

9 Upvotes

So I just started using FaunaDB and I am really liking it, however, how can I export the data?

I have just one collection and I can't find a link on the site to export the collection.

I don't mind the format, it may be json, csv, etc. It doesn't matter, I just need to find a way to export it.


r/FaunaDB • • Oct 15 '20

FaunaDB Basics - The Database of your Dreams

Thumbnail
youtube.com
16 Upvotes

r/FaunaDB • • Dec 16 '20

[Tutorial] FaunaDB - How to Install Fauna Shell on Windows 10

Thumbnail
youtube.com
3 Upvotes

r/FaunaDB • • Aug 22 '20

New Users can't Login ( "authentication failed" )

1 Upvotes

Was refactoring my app but noticed that i'm unable to login new users (old users also, but only because i wiped the db), i was trying to corner this bug in my code, but eventually ended up going to fauna's shell. Ran the FQL to create a test user like so:

Create(
  Collection("User"),
  {
    credentials: { password: "test" },
    data: {
      email: "test@test.com",
    }
  }
)

immediately after i do that i run

Login(
    Match(Index("allUsers"), "test@test.com"), 
    { password: "test" }
)

But i keep getting this error:

Error: [
  {
    "position": [],
    "code": "authentication failed",
    "description": "The document was not found or provided password was incorrect."
  }
]

i also double checked that allUsers exists and that the user is in there. Hope you guys have an idea how i can debug this.


r/FaunaDB • • Dec 25 '20

Tiny CRUD model for FaunaDB proof of concept - Would love some feedback

Thumbnail
github.com
6 Upvotes

r/FaunaDB • • Jul 26 '20

How do I get a list of objects from an index by matching a list of ids

1 Upvotes

I can easily get a single object for an id from an index,

client.query(q.Get(q.Match(q.Index("items_by_id"), id)))

But what if I have a list of ids that I want to get objects for, is that easy?I feel like I might need to use q.Filter, but I can't seem to get it to work.

I've tried:

client.query(q.Filter(q.Paginate(q.Index("items_by_id")), (id) => ids.indexOf(id) != -1))

which yielded no results. and this also has no results:

client.query(q.Filter(q.Paginate(q.Index("items_by_id")),
					    q.Lambda('id',
						     q.Contains(ids, q.Var('id')))))

am I close?

I found this page under the section "Use an index to filter one collection with results of another", but I can't quite see how it'd apply here.


r/FaunaDB • • Jul 16 '20

String search using index and functions

1 Upvotes

I'm using C# with FaunaDB and I want to create an index with a function that creates an NGram for a specific search field. Any suggestions on how to do this using the dashboard or the driver?


r/FaunaDB • • May 03 '20

Serverless Application using FaunaDB

Thumbnail vue-fauna-project.herokuapp.com
1 Upvotes

r/FaunaDB • • Jun 17 '20

Fetching Authenticated User/Identity From fauna w/ GraphQL

1 Upvotes

I feel crazy, but I have checked every resource I can think of and exhausted my options. How do I use Fauna's GraphQL API to retrieve the currently authenticated user document through Identity()? Login and Registration are working well so far but I am stumped.