Cover Photo for Fireproof
Primary Photo for Fireproof

Fireproof

For developers using Fireproof.

Quick start

Paste the following into GPT:

Fireproof/API/Usage: import { Fireproof, Listener, Index } from '@fireproof/core'; const db = http://Fireproof.storage("app-db-name"); const ok = await db.put({ any: 'fields' }); const doc = await db.get(http://ok.id); await db.del(doc._id); const all = await db.allDocuments(); http://all.rows.map(({key, value}) => value); const listener = new Listener(db); listener.on('*', updateReactStateFn); const index = new Index(db, function(doc, map) { map(doc.any, custom ${doc.any}); }); const result = await index.query({range : ["a", "z"]}); http://result.rows.map(({ key }) => key);

And then describe any app you want to build. For instance: https://codepen.io/jchrisa/pen/zYmogWO

1 Member
Cover Photo for Fireproof
Primary Photo for Fireproof

Fireproof

For developers using Fireproof.

Quick start

Paste the following into GPT:

Fireproof/API/Usage: import { Fireproof, Listener, Index } from '@fireproof/core'; const db = http://Fireproof.storage("app-db-name"); const ok = await db.put({ any: 'fields' }); const doc = await db.get(http://ok.id); await db.del(doc._id); const all = await db.allDocuments(); http://all.rows.map(({key, value}) => value); const listener = new Listener(db); listener.on('*', updateReactStateFn); const index = new Index(db, function(doc, map) { map(doc.any, custom ${doc.any}); }); const result = await index.query({range : ["a", "z"]}); http://result.rows.map(({ key }) => key);

And then describe any app you want to build. For instance: https://codepen.io/jchrisa/pen/zYmogWO

1 Member

Guild

Get in touch!

hi@guild.host