0.0.1-canary-11 • Published 7 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
7 years ago
0.0.1-canary-10
7 years ago
0.0.1-canary-9
7 years ago
0.0.1-canary-7
7 years ago
0.0.1-canary-6
7 years ago
0.0.1-canary-5
7 years ago
0.0.1-canary-4
7 years ago
0.0.1-canary-3
7 years ago
0.0.1-canary-2
7 years ago
0.0.1-canary-1
7 years ago
0.0.1-canary-m3Al1
7 years ago
0.0.1-canary-2mw3a89d
7 years ago
0.0.1-canary-2m3a89d
7 years ago
0.0.1-canary-8lmq9A0cTx
7 years ago
0.0.1-canary-32n4klm
7 years ago
0.0.1-canary-kn231
7 years ago
0.0.1-canary-ipa62
7 years ago
0.0.1-canary-amlkf5
7 years ago
0.0.1-canary-qj45
7 years ago
0.0.1-canary-build
7 years ago
0.0.1-canary
7 years ago
0.0.1
7 years ago