Implement a solution through which the user can stop the long-running task(like upload of a csv file) at any given point in time, and can choose to resume or terminate it. This will ensure that the resources like compute/memory/storage/time are used efficiently at our end, and do not go into processing tasks that have already been stopped (and then to roll back the work done post the stop-action)
- Node.js ( as runtime environment to run JavaScript code)
- React.js (as a client)
- MongoDB (as database)
- Mongoose (as database schema)
- Clone the repository.
- Go to the project folder in your local machine and then go the server folder. cd server
- Start the backend server using npm start
- Open a new terminal on your device and go to the client folder cd client
- Start the client server using npm start