Skip to content

octabytes/fireo-nodejs

Repository files navigation

Documentation for FireO

A modern and simplest convenient ORM package in Nodejs. FireO is specifically designed for the Google's Firestore, it's more than just ORM. It implements validation, type checking, relational model logic and much more facilities.

Get Started!




Available in other language

  1. FireO is available also in python FireO Python

Installation

npm install fireo

Example Usage

const {Model, Field} = require("fireo");

class User extends Model{
    name = Field.Text();
}

const u = User.init();
u.name = "Azeem Haider";
await u.save();

// Get user
const user = await User.collection.get({key: u.key});
console.log(user.name);

Documentation

Full documentation is available in the FireO Doc.

License

This is official FireO Repository. Powered by OctaByte Licensed under Apache License 2.0

About

Google Cloud Firestore modern and simplest convenient ORM package in NodeJs. FireO is specifically designed for the Google's Firestore

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors