Walkthrough of how I like to set up my Node.js backend projects. Configured with Typescript, ESLint, Prettier, Jest, Nodemon, environment variables, and debugging.
TSConfig Options: www.typescriptlang.org/tsconfig
ESLint Config Docs: eslint.org/docs/user-guide/co...
Prettier Options: prettier.io/docs/en/options.html
Project Github repo link: github.com/leoroese/blog-tube...
0:00 Intro & Initialize Project
6:25 Typescript Install
7:58 ESLint Install
13:19 Prettier Install
16:45 ESLint Config
24:39 Typescript Config
29:10 Testing Project Configurations
34:50 nodemon install and config
38:28 dotenv-safe install and config
41:40 Debugging
43:05 Jest install and config
49:30 Exclude tests from build
50:45 End
30 июн 2024