Skip to content

thiagodsantos/nodejs-unit-tests

Repository files navigation

nodejs-unit-tests

Prerequisites

  • Docker
  • Docker Compose

Setting up Dev

Here's a brief intro about what a developer must do in order to start developing the project further:

Environment variables

  • NODE_ENV
  • APP_PORT
  • DB_HOST
  • DB_PORT
  • DB_NAME
  • DB_USER
  • DB_PASSWD
git clone https://github.com/thiagodsantos/nodejs-unit-tests.git
cd nodejs-unit-tests/
docker compose up -d
make migration-run

Developing

Built With

  • Node.js
  • Typescript
  • MySQL

Building

make linter && make build

Tests

make npm-test
make npm-test-coverage

Style guide

Standard

Database

MySQL (mariadb)

Licensing

MIT

About

Node.js unit tests with Mocha and Sinon

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors