-
Clone this repository or download the zip file of the entire application.
-
Open the editor of your choice preferably
Visual Studio Code
. -
Open the project folder using the editor or directly paste the repository link and wait for it to finish loading the folder.
-
Navigate to the
plage-detect
folder using command prompt or terminal:
npm install
It will install the dependencies on local system mentioned in the package.json
file present inside plage-detect
directory.
- Navigate to the
plage-watch
folder using command prompt or terminal:
npm install
It will install the dependencies on local system mentioned in the package.json
file present inside plage-watch
directory.
- Front-end
Navigate to the
plage-watch
directory and run the command:
npm start
- Back-end
Navigate to the
plage-detect
directory and run the command:
npm start
Note: Make sure to delete tsconfig.json after downloading the application from the plage-watch
folder, and every time you do npm start in the plage-watch
front end folder.
- Open Browser (Google Chrome, Safari, etc) and enter the URL
http://localhost:3000/home
on the browser.
- Upload 2 submissions by clicking on the upload zone and selecting the zip files or by dragging and dropping the zip files in the drop zones.
-
Click on the
Check Plagiarism
button. This loads the plagiarism detection results. -
Result in the form of percentage and pie chart can be seen now.
-
Click on the
Compare
button to examine the code similarities side by side. -
After clicking
Compare Button
the application will navigate to below page where a file by file comparision is provided.
-
Using the
Next
andPrev
buttons navigate through all the program similarities. -
Click
Go Back
button to return to the home screen to upload new submissions. -
Click on
PlageWatch
icon at top left corner of nav bar and it will always redirect toHome Page
. -
Click on
About
icon at top right corner of nav bar and it will redirect toAbout Page
. -
About Page
describes user guidelines, unique features of PlageWatch and some general details of the logic to find similarities between two .js files. -
The live version of PlageWatch can seen on the below link:
The application can be found here: PlageWatch Web Application
- Install TypeScript and Node if not already pre-installed into the local system.
- The application requires the Node version to be above v12.
- The application uses React v17.0.1 at the front end.
- Typescript v4.0 and higher is used at Front end and Back end.
- Express v4.17.1 is used at server side.
- Mocha v8.1.3 & Chai v4.2.0 is used for Backend testing.
- We performed manual testing for front end.
- Manual Testing details are present on the below Wiki link