A full stack web application that allows users to track student attendance using a simple thumbs up/down system.
This application allows teachers or administrators to:
- Add new students with their names and student IDs
- Track daily attendance using thumbs up (present) and thumbs down (absent) buttons
- View attendance counts for each student
- Remove students from the system(trash)
- View students sorted by attendance (highest attendance first)
- Node.js
- Express.js
- MongoDB
- EJS (Embedded JavaScript templates)
- Font Awesome
- HTML/CSS
- Clone the repository
- Install dependencies
- Create a
.env
file in the root directory and add your MongoDB connection string: - Start the server
- Access the application at
http://localhost:4000
- Add students using the form at the bottom of the page
- Track attendance:
- Click 👍 to mark a student present
- Click 👎 to mark a student absent
- Delete students using the trash icon
GET /
- Display the main attendance pagePOST /addStudent
- Add a new studentPUT /addStudent
- Update attendance countsDELETE /addStudent
- Remove a student