Node version 20.0.0 Steps to run this project:
- Run
CREATE DATABASE task CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
in MYSQL to create db - Run
ts-node ./node_modules/.bin/typeorm migration:generate ./src/migrations/USERS -d ./src/dataSource.ts
to generate model diff migration ts-node ./node_modules/.bin/typeorm migration:run -d ./src/dataSource.ts
to run migrations- Run
npm start
to run project