Skip to content

Ivanbyone/typescript-express-typeorm-inversifyjs-template

Repository files navigation

Minimal Typescript Express template with dependency injection (DEV version)

Description

Minimal example of Express application with Dependency Injection pattern (for development environment). This projects includes 3 layers:

  • controllers
  • application (service layer)
  • adapters (infrastructure layer).

Technologies

  • Typescript
  • Express
  • PostgreSQL (typeorm)
  • InversifyJs (Dependency Injection framework)
  • log4js
  • Docker

Installation

  1. Clone this repository:
   git clone https://github.com/Ivanbyone/typescript-express-typeorm-inversifyjs-template.git
  1. Create .env file as .env.example with your secrets.
  2. Create Docker image.
    docker build . -t <your_name>
  1. Run docker
    docker run <your_name>

Congratulations! Have a good development.

About

Minimal Express template with DI pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published