A simple project with TypeORM

This is a simple project created by TypeORM, developed from APIs studies, ORM databases, decorators, unit and integrated tests.

How to execute the project

Follow the steps below to execute the project in your machine:

  1. Run npm i command
  2. Setup database settings inside data-source.ts file
  3. Run npm run dev command and npm run start to start application

Run migration generate && migration run

  1. Run npm run migration:generate command to generate the migration
  2. Run npm run migration:run command to create and update database and tables