noda-models

0.0.2-2 • Public • Published

Private models collection (ONLY TEST)

Mongoose (MongoDB) schemas for express.js apps.

var models = require('noda-models');
var User = models.Person;

User
 .find({})
 .limit(10)
 .exec(function(err,users){
    if(err) throw new Error('DB fatal!');
    console.log(users);
 });

API docs - see ./docs

Account

User system account. Аккаунт в системе, учетная запись

Domain

Domain name.

Event

Event.

Festival

Фестиваль (Филимоново)

Group

Group

Organization

Organization. Extend Account

Person

Персона. Расширяет Account

Profile

Профиль пользователя

Project

Проект

Thing

Основа всех моделей. Мета-данные.

Readme

Keywords

none

Package Sidebar

Install

npm i noda-models

Weekly Downloads

0

Version

0.0.2-2

License

MIT

Last publish

Collaborators

  • diproart