A website that will store the attendance information of my day-to-day college, and will display the percentage.
- Take the week timetable.
- Take a list of all the subjects.
- Options to select the attendance information every day.
- Show the percentage of individual subjects.
- Add classes outside the day's schedule.
- Make it work for multiple users (single user for easy development)
- Use some SQL database (because it looks like this is a lot of data to be stored for months).
- Might use AWS // VPS for database and hosting.
- Dark mode
- Ability to delete attendance entries
- Profile page
- Friends list
- Change the color of the progress bar based on the percentage of attendance
-
Install mariadb and ensure a '
attendanceweb
' database is created with the appropriate tables. The SQL command to create the tables are located in the./design-choices/db-tables
directory.Tables:
- Users
- Classes
- AttendanceLog
- Attendance (view)
-
Save your db configuration settings in the
.env
file (the requirements are also available in the.env-vars
file).Requirements:
- DB_USER
- DB_PASSWORD
- DB_HOST
- DB_NAME
- SESSION_SECRET
- DEVELOPMENT
-
Install node dependencies
npm install
-
a. Use nodemon to run the server
nodemon
b. Run the server manually
node index.js
-
Site is live at
localhost:3000
. Open it in your preferred browser.
Due to the minimal time and too high of a requirement, it is highly suggested to help me fulfill this challenge/dream task.