implementing face recognition for absent using comsume api such as face comparison and face analysis
- Users
Route | HTTP | Description |
---|---|---|
/api/users/signin | POST | Sign in while get an access token based on credentials |
/api/users | GET | Get all users info |
/api/users/:id | GET | user single user information |
/api/users | POST | create users admin only |
/api/users/:id | DELETE | Delete user (admin only) |
/api/users/:id | PUT | Update a user with new info (admin and authenticate user) |
- Students
Route | HTTP | Description |
---|---|---|
/api/students | GET | Get all students info |
/api/students/:id | GET | user single user information |
/api/students | POST | create students admin only |
/api/students/:id | DELETE | Delete students (admin only) |
/api/students/:id | PUT | Update a students with new info (admin and authenticate user) |
- Absents
Route | HTTP | Description |
---|---|---|
/api/absents | GET | Get all absents info |
/api/absents/:subject/:class_name | GET | Get one absent info By subject and class_name |
/api/absents/ | POST | Create absent |
/api/absents/:student_id | PUT | Update absents By student_id |
/api/absents/:id | DELETE | Delete absent by Id |
clone the repository first and do step by step below
npm install
npm start / yarn start
it will directly open your browser with address localhost:3000