npm-monorepo
Monorepository using npm
Run all commands from Root Directory
Run "npm install" to install all dependencies required for client and backend
Dev Mode
Run "npm run dev" to start the vite-react as well as express server concurrently. Open http://localhost:5173 Check the vite-config for proxy configuration. to connect client to backend.
Build
Run "npm run build" to create the production build.
Start the production build
Run "npm start" Ensure NODE_ENV=production environment variable is set.