/nodejs-webservice-mongodb-template

Easy ES6 nodejs template using MongoDB

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

nodejs-webservice-mongodb-template

  • Template of a webservice in NodeJS using MongoDB as database. This code is based on node packages documentation, alura courses and in the book of NodeJS by Waldemar Neto.

  • An example code model for creating web services, with several libraries used to increase scalability, performance, maintainability, and functionality.

  • All the bibliographic references for the respective sources from where I took the content are in the file package.json.

  • Some references have been omitted since there are dependencies in package.json.

Using this template in production

If you want to use this template in production, I advise using Winston or Bunyan for logs instead of console.log()

Why? https://strongloop.com/strongblog/compare-node-js-logging-winston-bunyan/

  • NodeJS Version 6.10.3
  • NPM Version 3.10.10