Skip to content

This project is to automate answer sheet distribution made for CSIS department.

Notifications You must be signed in to change notification settings

Swapnil-DevGeek/answer-sheet-distributor

Repository files navigation

Answer Sheet Distributor

Project Setup

1. Clone the Project

git clone https://github.com/Swapnil-DevGeek/answer-sheet-distributor.git
cd answer-sheet-distributor

2. Install Dependencies

npm install

3. Prepare Project Directories and Configuration

Create Answer Sheets Folder

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

Configure Environment Variables

Create a .env file in the project root with the following details:

[email protected]
EMAIL_PASS=your-app-password

Generating App Password

  1. Turn on 2-Step Verification for your Gmail account
  2. 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.

4. Run the Project

npm run dev

Important Notes

  • 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

About

This project is to automate answer sheet distribution made for CSIS department.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published