yarn init -y --> Init Project; yarn add nodemon -D --> live reload (pckg.json -> nodemon run dev 'src/app'); yarn add express --> Micro Framework Web; yarn add sequelize --> ORM (yarn sequelize init) (yarn sequelize migration:create --name=example); yarn add sequelize-cli -D --> Migrations (Up / Down) (yarn sequelize db:migrate); yarn add pg --> PostgresDB; yarn add jest -D --> Framework Testing JS(TDD) -> yarn jest --init -> (jest.config.js) -> yarn test; yarn add sqlite3 -D --> DB for tests (archive); yarn add supertest -D --> Test Requests, aux for Jest; yarn add faker -D --> generate fake data for Tests; yarn add factory-girl -D --> generate factories data for Tests; yarn add cross-env --> For load environment variable's; yarn add dotenv --> For load environment variable's; yarn add bcrypt --> for Crypt hash; yarn add jsonwebtoken --> for tokenization authentications;
eliabecardoso / nodejs_appdesfacacom_cqrs-write Goto Github PK
View Code? Open in Web Editor NEWDESFAÇA APP