Skip to content

API to study the fundamentals of Test Driven Development (TDD) & automated tests in general

License

Notifications You must be signed in to change notification settings

LucasPereiraMiranda/tdd-products-api

Repository files navigation


TDD products api

GitHub language count Repository size GitHub last commit Repository issues GitHub license


🚀 Techs

TDD products api was developed with these technologies

💻 Project

This project's API has been developed with the primary objective of studying and exploring the core principles of Test Driven Development (TDD) and automated testing in general.

This version provides more clarity and completeness by specifying the purpose of the API and emphasizing its objective of studying and exploring the principles of TDD and automated testing.

💥 Installation

# clone this repo
$ git [email protected]:LucasPereiraMiranda/tdd-products-api.git

# run with compose services (app and mysql)
$ docker-compose up

# open new terminal and run migrations  (replace app_docker_container_id to our app docker container id)
$ docker run exec -it app_docker_container_id bash

# run migrations inside container
$ npm run typeorm migration:run

Image details to run migrations

migrations

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

API to study the fundamentals of Test Driven Development (TDD) & automated tests in general

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published