I have implemented a application which uses mongoDB, robomongo, mongoose, mocha for testing.
- clone the repo to any directory.
- run
npm installoryarn add
I have created two models (author and mariochar). MongoDB Connections are available at connection.js file.
We can create, delete, update, find the record in the mongoDB.
Before performing any CURD operations create a directory with name data and another directory named db in data directory in C:/ local disk.
Then run node run test command in your command prompt or terminal.