This is a simple Node.js application for fetching assignment data and submitting answers to a remote server.
- Node.js installed
node-fetch
module installed (you can install it usingnpm install node-fetch
)
assignmentHandler.js
: This file contains the logic for fetching assignment data using theredundantWord
function.submissionHandler.js
: This file handles the submission of answers and assignment IDs to the remote server.
-
First, make sure you have Node.js and the required dependencies installed.
-
In the
assignmentHandler.js
file, replace theemail
variable with your email address. -
Run the
assignmentHandler.js
script to fetch assignment data: