This is a simple project created by TypeORM, developed from APIs studies, ORM databases, decorators, unit and integrated tests.
Follow the steps below to execute the project in your machine:
- Run
npm i
command - Setup database settings inside
data-source.ts
file - Run
npm run dev
command andnpm run start
to start application
- Run
npm run migration:generate
command to generate the migration - Run
npm run migration:run
command to create and update database and tables