Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/khachornchit/nodejs-unit-test

Node.js with unit test.
https://github.com/khachornchit/nodejs-unit-test

docker javascript jest-tests mocha mongodb nodejs sinon

Last synced: about 2 months ago
JSON representation

Node.js with unit test.

Awesome Lists containing this project

README

        

[![CircleCI](https://circleci.com/gh/khachornchit/nodejs-unit-test.svg?style=svg)](https://circleci.com/gh/khachornchit/nodejs-unit-test) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest) [![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest)

# Node.js Unit Test

This is an sample of node.js web application to demonstrate on how to use node.js and express.js framework to develop web app with MVC concept. It is a simple Web API integrating with mongoDB and develop under docker container environment. It demonstrate on how to write JavaScript Unit Test also by using mocha and sinon framework.

## Technology Stack
* docker, docker-compose
* node.js, express.js, mongoDB
* mocha, sinon

## Getting started
* git clone [email protected]:khachornchit/nodejs-unit-test.git
* cd nodejs-unit-test
* docker-compose build
* docker-compose up -d

## Additional Install
* npm i -g npm && npm i mocha -g