Skip to content

fauna-labs/zero-to-docrel-demo

Repository files navigation

Weekly live webinar: Introduction to Fauna in 45 minutes

This is the sample project as demonstrated in the weekly live webinar.

img

Setup

  • Install packages: npm install

  • Create a database in your Region Group of choice.

  • Copy .env.sample into .env and provide value for FAUNADB_SECRET

  • Load the sample data:

    > node scripts/run.js
    
  • Run the queries:

    > node query1.js                
    {
      data: [
        {
          status: 'processing',
          customer: { firstName: 'Carol', lastName: 'Clark' }
        },
        {
          status: 'processing',
          customer: { firstName: 'Bob', lastName: 'Brown' }
        },
        {
          status: 'processing',
          customer: { firstName: 'Alice', lastName: 'Appleseed' }
        }
      ]
    }
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published