Skip to content

Sachielsc/Mocha-example-using-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charles' Mocha Project

Description

Charles' Mocha demo project.

Main tutorial

Install Chai

Chai, a BDD-style assertion library for Node. To install it:

npm install chai --save-dev

npm install chai-http --save-dev

Run MongoDB Community Edition

  • Set up the MongoDB environment. MongoDB requires a data directory to store all data. MongoDB’s default data directory path is the absolute path \data\db on the drive from which you start MongoDB. Create this folder
  • Start MongoDB.~\MongoDB\Server\3.6\bin\mongod.exe

Documents

Testing Node.js with Mocha and Chai

Install and setup for MongoDB Community Edition

Etc

Some useful links:

Click here to find out how to run mocha command in CLI

Click here to solve the error "DeprecationWarning: open() is deprecated in mongoose"

Releases

No releases published

Packages

No packages published