Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 941 Bytes

README.md

File metadata and controls

49 lines (41 loc) · 941 Bytes

OnlyVels AMS(Attendance Monitoring System)

Front-end - Next.js

Back-end - PocketBase


api.py - endpoint with Name, Attendance Percentage, Last Updated Date.

selMod.py - Data Scrape using Selenium

pwMod.py - Data Scrape using Play Wright

How to use

Step1 - Run the api.py

python api.py

Endpoint

http://localhost:3001/attendance?username=YourRegNo&password=YourPassword

Step2 - cd backend --> pocketbase serve

cd backend
pocketbase serve

Step3 - cd ../frontend --> npm run dev

cd frontend
npm run dev

Step4 - navigate to /login or /register

http://localhost:3000/login 

or

http://localhost:3000/register

How to update with latest attendance data

Step1 - cd TaskScheduling

Step2 - Run the app.py (get and post all registered user attendance data to attendance db)

cd TaskScheduling
python app.py