This is the sample project as demonstrated in the weekly live webinar.
-
Install packages:
npm install -
Create a database in your Region Group of choice.
-
Copy
.env.sampleinto.envand provide value forFAUNADB_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' } } ] }
