AttendHub is an attendance management system designed to simplify and streamline the process of tracking attendance for educational institutions and organizations. It offers an intuitive interface for easy navigation and efficient attendance recording.
- Clone this repository:
git clone https://github.com/yourusername/AttendHub.git
- Open your browser and navigate to the Extensions tab.
- Enable Developer Mode:
- In Chrome, toggle the switch in the top right corner to enable Developer mode.
- Load the Unpacked Extension:
- Click the "Load unpacked" button.
- Select the cloned folder and then select the
extensionsfolder.
- The extension is now ready to use from the extensions menu.
- Create a Google Cloud Project:
- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Enable the Google Sheets API:
- Navigate to "APIs & Services" > "Library".
- Search for "Google Sheets API" and enable it.
- Create a Service Account:
- Go to "APIs & Services" > "Credentials".
- Click "Create Credentials" and select "Service Account".
- Follow the prompts to create a new service account.
- Create a JSON Key:
- After creating the service account, go to "Keys" and click "Add Key" > "Create new key".
- Select "JSON" and click "Create". This will download a JSON file containing your service account credentials.
- Rename that file to keys.json.
- Share Your Google Sheet with the Service Account:
- Open your Google Sheet.
- Click "Share" and share the sheet with the service account email (ending in
@your-project-id.iam.gserviceaccount.com).
-
Add the Google Sheets API Key:
- Open the
configfolder in theextensionsfolder. - Add the keys.json file in that folder.
- Open the
-
Set the Spreadsheet ID:
- Open the
configfolder in theextensionsfolder. - In that open
.envfile - Add your Google Spreadsheet ID.
https://docs.google.com/spreadsheets/d/1fkByy5z6NnHKAkhLisifXlh-gdmy4SsbirqpzGRR/edit?gid=0#gid=0here it is after d/ to /edit that is1fkByy5z6NnHKAkhLisifXlh-gdmy4SsbirqpzGRR
- Open the
- Navigate to the
Serverfolder:cd Server - Install the dependencies:
npm install
- Start the server:
The server should now be running and ready to handle requests from the extension.
npm start
- Join the Google Meet:
- Join a Google Meet session.
- Press the Start Tracking Button:
- Click the "Start Tracking" button provided by the AttendHub extension.
- As soon as you end or leave the meet the list of participants will be logged to your configured Google Sheets , as well as downloaded as a .csv file.