ntourne / tudai-mongodb-2019

Quick example of Node.js, MongoDB and Mongoose application done during a university class.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Install project

$ git clone https://github.com/ntourne/tudai-mongodb-2019
$ npm install

Open config.js and edit with your MongoDB credentials.

Execute scripts

To post a new document into Logs collection's just execute in your command line:

$ node create-log.js --level=DEBUG --message="New message"

About

Quick example of Node.js, MongoDB and Mongoose application done during a university class.


Languages

Language:JavaScript 100.0%