Skip to content

starkfire/faun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faun

A Node.js ORM for interacting with FaunaDB without FQL

If I'll be honest, I don't even know if this is an ORM or ODM, but whatever.

Usage

Setup Client

const client = new FaunaClient({ secret: process.env.FAUNA_SECRET_KEY });

Create Database

let res = await client.createDatabase('helloworld');

Get Database

let res = await client.getDatabase('helloworld');

Rename Database

let res = await client.renameDatabase('helloworld', 'hello');

Delete Database

let res = await client.deleteDatabase('hello');

Contributing

Feel free to make pull requests and submit issues.

(i mean, do you even want to?) 👉👈

License

MIT

About

FaunaDB ORM for Node.js (wip 🛠️)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published