@djorellanab/n8-orm
v0.0.6
Published
Awesome project developed with TypeORM.
Readme
Awesome Project Build with TypeORM
dependencies:
- Run
ts-node
cli of TypeOrm:
- Create an entity:
./node_modules/.bin/ts-node ./node_modules/typeorm/cli.js entity:create -n "{nameEntity}" - generate a migration of entities
./node_modules/.bin/ts-node ./node_modules/typeorm/cli.js migration:generate -n "{nameMigration}" - create a migration
./node_modules/.bin/ts-node ./node_modules/typeorm/cli.js migration:create -n "{nameMigration}" - run migrations
./node_modules/.bin/ts-node ./node_modules/typeorm/cli.js migration:run
Steps to run this project:
- Run
npm icommand - Setup database settings inside
ormconfig.jsonfile - Run
npm startcommand
