├── .eslintrc.yml ├── .gitignore ├── README.md ├── package.json ├── src ├── app.js ├── models │ └── product.js └── services │ └── product.js └── tests ├── db-handler.js ├── product-create.test.js └── product-getbyid.test.js /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .vscode -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/package.json -------------------------------------------------------------------------------- /src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/src/app.js -------------------------------------------------------------------------------- /src/models/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/src/models/product.js -------------------------------------------------------------------------------- /src/services/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/src/services/product.js -------------------------------------------------------------------------------- /tests/db-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/tests/db-handler.js -------------------------------------------------------------------------------- /tests/product-create.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/tests/product-create.test.js -------------------------------------------------------------------------------- /tests/product-getbyid.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawap90/test-mongoose-inmemory/HEAD/tests/product-getbyid.test.js --------------------------------------------------------------------------------