connect db type orm code example Example: typeorm npm install typeorm -g typeorm init --name MyProject --database mysql