View Code? Open in Web Editor
NEW
myql (typeorm) node and express
node-boilerplate's Introduction
- Mysql (typeorm)
- Express
- Node JS
Steps to run this project:
- Run
yarn install
command
- Setup database settings inside
data-source.ts
file
- Run
nodemon src/index.ts
command
steps to create migration
- Run
typeorm migration:create [path]
command
- RUn
npm run migrate
command
- Run
typeorm entity:create [path]
command
environment configuration variables (.env)
- DB_HOST
- DB_USER
- DB_PORT
- DB_PASSWORD
- DB_NAME
node-boilerplate's People
Contributors
Watchers