Setup
- Create database named PushNotification
- Setup database configuration in file ./src/config/db.ts
- Run command
./node_modules/.bin/mikro-orm schema:create -r
if you use relationship database, e.g. postgresql, mysql, sqlite. If you use NoSQL such as mongodb, it's no need to create schema beforehand.
Start the services
yarn compile
yarn app
or
yarn start:dev