Skip to content

A step by step Javascript data importer for Fauna DB, use this service inside or outside your application to import data.

Notifications You must be signed in to change notification settings

Jxmedia/Faunadb_js_importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faunadb_js_importer

A step by step Javascript data importer for Fauna DB, use this service inside or outside your application to import data.

Before use

Installation

FaunaDB

npm install --save faunadb

Using this importer

  1. Set up your database, collection and keys FaunaDB

  2. Convert your data into an array Mr. Data Converter

  3. Input data in the appropriate spots (commented and split up array if too large)

  4. Utilize the buttons in the return to execute the import functions after following the steps and reading the comments

  • <button onClick={createDocumentImport}> Import everything in dataInputArray </button>

Final Notes

  1. This importer should only be used in development envs as the fauna secret is not hidden as it should in production
  • const client = new faunadb.Client({ secret: "Your Secret Here" });
  1. Split up your arrays if over 1000 entries

About

A step by step Javascript data importer for Fauna DB, use this service inside or outside your application to import data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published