typeorm create connection in whole application code example Example: typeorm npm install typeorm -g typeorm init --name MyProject --database mysql