Task scheduling fullstack application build React, Node.js, Express and Webpack. Project is also configured with webpack-dev-server, eslint, prettier and babel.
The development mode we has 2 servers running. The front end code will be served by the [webpack dev server] which helps with hot and live reloading. The server side Express code will be served by a node server using [nodemon] which helps in automatically restarting the server whenever server side code is edited. I am using [Concurrently] to run the webpack dev server and the backend node server concurrently in the development environment
In the production mode, we have only 1 server running. The client side code will be bundled into static files using webpack and served by the Node.js
# Clone the repository
git clone https://github.com/jef777/Task_scheduling_application
# Go inside the directory
cd Task_scheduling_application
# Install dependencies
npm i
cd server && npm run i
cd client && npm run i
# Start full development server && client
npm run dev-env
# Build for front-end / client production
cd client && npm run build
# Build for backend-end / Server production
cd server && npm run start