0.0.1-canary-11 • Published 6 years ago
typemongo v0.0.1-canary-11
TypeMongo Work in Progress
A generic MongoDB repository for Typescript.
Introduction
MongoDB business logic written solely with native driver can quickly pile up a lot boilerplate code. Most of it can be reused with generics and developing a generic repository that gets inherited by specific repositories.
There are other alternatives like Mongoose, Mongolia which tackle reducing the bolierplate with different approaches.
TypeMongo solves it with Repository Pattern.
import { MongoRepository } from 'typemongo'
class MyRepository extends MongoRepository {
constructor(){
super()
}
/*
MY REPO SPECIFIC METHODS HERE
*/
}
0.0.1-canary-11
6 years ago
0.0.1-canary-10
6 years ago
0.0.1-canary-9
6 years ago
0.0.1-canary-7
6 years ago
0.0.1-canary-6
6 years ago
0.0.1-canary-5
6 years ago
0.0.1-canary-4
6 years ago
0.0.1-canary-3
6 years ago
0.0.1-canary-2
6 years ago
0.0.1-canary-1
6 years ago
0.0.1-canary-m3Al1
6 years ago
0.0.1-canary-2mw3a89d
6 years ago
0.0.1-canary-2m3a89d
6 years ago
0.0.1-canary-8lmq9A0cTx
6 years ago
0.0.1-canary-32n4klm
6 years ago
0.0.1-canary-kn231
6 years ago
0.0.1-canary-ipa62
6 years ago
0.0.1-canary-amlkf5
6 years ago
0.0.1-canary-qj45
6 years ago
0.0.1-canary-build
6 years ago
0.0.1-canary
6 years ago
0.0.1
6 years ago