/Dependency-Injection-Examples

This repository was created as a part of Dependency Injection demonstration on a DevPira Festival 2021 panel. Currently, this is the largest tech festival in São Paulo area, Brazil.

Primary LanguageTypeScript

Depedency Injection Examples

💻 Reason

This repository was created as a part of Dependency Injection demonstration on a DevPira Festival 2021 panel. Currently, this is the largest tech festival in São Paulo area, Brazil.

📎 Examples

Here we'll have three examples showing how develop the same software in this repo.

These examples were wroten as ilustration to an smartphone factory,

  • 📘The first one show how to develop tightly coupled software (please do not)
  • 📘The second shows how to develop loosely coupled software without frameworks
  • 📘 And lastely, the code shows how to develop loosely coupled software with TypeDi a Typescript dependency injection library.

🚀 Stack

This project was developed with:

📟 Startup

To run these examples you just have to enter on each folder and run these commands below:

yarn install
yarn build
yarn start

Author


@Barros42