Edu-Flow

«««< HEAD

Edu-Flow

Automatic Attendance System by using RFID

A comprehensive RFID-based attendance system with Google Sheets integration and dual login system for Government and Teacher roles.

Features

System Architecture

Setup Instructions

1. Install Dependencies

npm install

2. Google Sheets Setup

  1. Create a new Google Sheet with the following structure:
    • Sheet 1: “Users” (columns: id, name, rfid_card, role, email, created_at)
    • Sheet 2: “Attendance” (columns: id, user_id, name, timestamp, status, rfid_card)
    • Sheet 3: “Auth” (columns: username, password, role, created_at)
  2. Enable Google Sheets API and download credentials.json
  3. Place credentials.json in the backend folder

3. Environment Configuration

Create a .env file in the root directory:

PORT=5000
JWT_SECRET=your_jwt_secret_here
GOOGLE_SHEET_ID=your_google_sheet_id
GOOGLE_CREDENTIALS_PATH=./backend/credentials.json
RFID_PORT=COM3

4. Run the Application

# Start backend server
npm run dev

# Start frontend (in another terminal)
npm run frontend

5. Access the Application

User Roles

Government Login

Teacher Login

API Endpoints

Hardware Requirements

Development

The system is designed to be simple yet powerful, with all data stored in Google Sheets for easy access and management.

Edu-Flow

Automatic Attendance System by using RFID

31e17137600832d96e857ea710d66abf0324608c