git clone https://github.com/Swapnil-DevGeek/answer-sheet-distributor.git
cd answer-sheet-distributor
npm install
Create a folder named answer-sheets in the project root directory and add scanned PDFs named according to student ID.
Example:
answer-sheets/
├── 2022A7PS0181G.pdf
├── 2022A7PS1274G.pdf
└── 2022B3A70181G.pdf
Create a .env file in the project root with the following details:
[email protected]
EMAIL_PASS=your-app-password
Generating App Password
- Turn on 2-Step Verification for your Gmail account
- Generate an App Password:
a. Visit: here ,write app name and click on Create.
b. Copy the generated 16-character password.
c. Paste this password in the .env file for EMAIL_PASS.
npm run dev
- Ensure all PDFs in the answer-sheets folder are named exactly according to the student ID
- Keep the .env file private and do not commit it to version control
- Make sure you have Node.js installed before running the project