Design a school management system(backend+dbschema
) that takes down the attendance of the
staff that comes to the school. The administrator of the school can only access the dashboard with
their credentials.
-
Admin credentials should be salted and hashed.
-
Ignore session maintenance[assume session is maintained and only write the APIs].
-
Two half days for attendance can be taken as 1 full day.
-
Teachers are allowed to take 3 leaves per month without any paycut.
-
Admin can see what all teachers are present, absent, half day on present day.
-
Admin can see previous month’s data for a particular teacher(how many days present,absent, etc.)
-
Admin can calculate the salary of teachers based on the number of days present.
-
Admin can also see what all teachers have already taken more than 7 leaves a month[RED FLAG]
-
The system should also calculate the salary of teachers for the current month.
-
[] Design the database and backend with assumption the school has 10 Million teachers(scale) You can assume the salary per day same( ex:100 rs/day) for all the teachers.
npm install
node index.js
- Express.js
- jsonwebtoken
- bcrypt
- mongoose
- validator
Everyone is welcomed to contribute to this project. You can contribute either by submitting bugs or suggesting improvements by opening an issue on GitHub. Please see the CONTRIBUTING guidelines for more information.
- [] Design the database and backend with assumption the school has 10 Million teachers(scale) You can assume the salary per day same( ex:100 rs/day) for all the teachers.