The App in this repository is a REST API for study purposes. It has only basic functionalities with User, like creation and authentication. Based on the video Rocketseat: Testes no NodeJS aplicando TDD com Jest | Diego Fernandes
Clone the Repo with git clone https://github.com/LuanSilveiraSouza/js-designpatterns.git
Create a Postgres Container with docker run --name postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
In .env and .env.test insert the correct values for connecting in database and your JWT secret key
Run yarn install
or npm install
See package.json for run the app in different environments
Author: LuanSilveiraSouza
GitHub: https://github.com/LuanSilveiraSouza/node-tdd-study
#nodejs #javascript