Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/khachornchit/nodejs-unit-test
- Owner: khachornchit
- License: mit
- Created: 2019-10-04T16:07:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T23:27:41.000Z (about 2 years ago)
- Last Synced: 2024-05-10T22:07:05.599Z (8 months ago)
- Topics: docker, javascript, jest-tests, mocha, mongodb, nodejs, sinon
- Language: HTML
- Size: 1.15 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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