🚀🚀🚀 A coding challenge that to build a clock-in / clock-out platform for helping employees to keep track of their time worked.
Ref: app/helpers/sign_up_form_builder.rb
Ref: app/helpers/clock_events_helper.rb
- Clock-in button will be shown if users have not clock-in today
- Clock-out button will be shown if users have clocked-in today
- Both buttons will be hidden if users have clocked-out today
- Teacher user can only see their own event logs
- Admin user can see all event logs and full permission to manage (CRUD)
Ref: datatatble.js
Ref: datetimepicker.js
⭐️ Website Link: https://himama-time-clock.herokuapp.com/
- Go to the sign up page
- Fill up the form and pass the validation
- You will see your clock-in/out page.
- The actions you can do are:
- clock-in for today (only if you haven't clock-in of course :P)
- clock-out for today (once you clocked-in, your clock-in button will be changed to clock-out button)
- See your personal event logs
- Log into the website with your credentials (email, password)
- Same as point 3 and 4 of new users stated above
- Log into the website with following credentials:
- email: admin@hola.com
- password: 12345678
- (This is only for the test. The email is made up. 😜)
- You will see all clock-in and clock-out events with a sortable table.
- The actions you can do are:
- modify the events via edit or delete link
- add a new event for other employees via Add New Event link
This software uses the following open source packages:
- Ruby on Rails (Ruby v2.5.3 / Rails v5.2.2)
- jQuery
- datatable.js
- datetimepicker.js
- moment.js
- Google Fonts (font: Kalam)
- Bootstrap (v4.2.1)
- Logo Image is from himama website: https://www.himama.com/
- Clock Svg is from Codepen: https://codepen.io/mohebifar/pen/KwdeMz