PORT ?= 8090 .PHONY: all install start dev clean restart all: install ## Install dependencies install: npm install ## Start the server in production mode start: PORT=$(PORT) npm start ## Start the server in development mode (auto-restart on file changes) dev: PORT=$(PORT) npm run dev ## Remove node_modules and lockfile clean: rm -rf node_modules package-lock.json ## Restart the server restart: clean install start