yoonic / atlas

E-Commerce Backend API in Hapi.js and RethinkDB
MIT License
373 stars 104 forks source link

Atlas with mongoDB #4

Closed hoangtrongphuc closed 7 years ago

hoangtrongphuc commented 7 years ago

How can I use mongodb instead of rethinkDB ?

andrecrt commented 7 years ago

@hoangtrongphuc hi!

The app was built around RethinkDB, so there isn't an ORM or abstraction layer where you could simply select a MongoDB "driver". However, the DB-related code is isolated enough that it should be fairly simple to port it to MongoDB. If I'm not mistaken or missing anything...