0.0.1 • Published 5 years ago

@mongoolize/core v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

tested with jest codecov Node.js CI

@mongoolize/core

ORM for mongodb

Inspired by

Requirements

  • NodeJS >= 8
  • ExperimentalDecorators must be enabled in tsconfig.json

Installation

  • With NPM: npm install @mongoolize/core

  • Using Yarn: yarn add @mongoolize/core

Usage

  1. Create a schema

    import { Schema, prop } from '@mongoolize/core'
    
    class User extends Schema {
       @prop({ type: String })
       name?: string
    }
  2. Create a model

    Coming Soon!

Testing

We use jest with ts-jest for testing.

npm run test

Versioning

Starting from release (v1)

We will use SemVer for versioning.

License

MIT License - LICENSE.md