Create file .env
like file .env.example
Create config file ormconfig.json
like that file ormconfig.json.example
Run command to check status
npm run typeorm migration:show
If have migration are pending => run migration
npm run typeorm migration:run
npm run build
npm start