Steps to run this project:
- Run
yarn
command - Setup database settings inside
ormconfig.json
file - Run
yarn dev
command
You can create a new migration using CLI:
// create migration
npx typeorm migration:create -n PostRefactoring
You run them using a CLI command:
// run
npx typeorm migrtion: run
// revert
npx typeorm migration:revert