npm init
git init
- add gitignore
- create tsconfig with configs
- run
npm i -D @types/node ts-node tsc-alias typescript nodemon tsconfig-paths
- add scripts
build
,start
,dev
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier @typescript-eslint/eslint-plugin
- add scripts
lint
,format
- add .vscode folder
npm i prisma
- add scripts
db:generate
,db:migrate
- add script
deploy
npm i -D jest @types/jest ts-jest
- run
npx jest --init
- add
"jest"
to"types"
intsconfig