npm init -y
Production :- npm install express Development :- npm install -D typescript @types/node @types/express tsx
npx tsc --init
mkdir src && touch src/server.ts
"scripts": { "dev": "npx tsx --watch src/server.ts", "build" : "tsc", "start": "node dist/server.js", }