This is a atandard production-ready setup for Node JS projects.
You can install this preconfigured or run the installation manually with your own config style
- Clone the project
- Install package.json
- npm init -y
- npm i -D typescript ts-node nodemon @types/node @types/express
- node -v > .nvmrc
- npm i -D eslint
- npx eslint --init, for node js, use airbnb, style,
- npm i -D prettier eslint-config-prettier eslint-plugin-prettier
- npm i -D eslint-import-resolver-typescript tsconfig-paths
- npm i -D dotenv-safe @types/dotenv-safe
- npm i -D jest ts-jest @types/jest
- npx ts-jest config:init
- Express JS Server
- TypeScript
- ESlint Configuration
- Prettier Configuration
- Dotenv for environment variables
- Jest for testing