splashinn / himama-time-clock

πŸš€ a platform for employees to clock-in and clock-out. πŸ‘‰πŸ»

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

himama Time Clock ⏰

πŸš€πŸš€πŸš€ A coding challenge that to build a clock-in / clock-out platform for helping employees to keep track of their time worked.

Key Features

πŸ’‘ User authentication and lovely inline validation display πŸ’‘

Log inSign upInline validation

Ref: app/helpers/sign_up_form_builder.rb

πŸ’‘ Warmest greeting words changed with the time changes (Good morning, afternoon, ..) πŸ’‘

Greeting

Ref: app/helpers/clock_events_helper.rb

πŸ’‘ Clock-in or clock-out button showed based on each user's situation per day πŸ’‘

Clock-inClock-inClock-in

  1. Clock-in button will be shown if users have not clock-in today
  2. Clock-out button will be shown if users have clocked-in today
  3. Both buttons will be hidden if users have clocked-out today

πŸ’‘ Different event logs displayed between teacher and admin πŸ’‘

  1. Teacher user can only see their own event logs
  2. Admin user can see all event logs and full permission to manage (CRUD)

πŸ’‘ A user friendly sortable / searchable / paginatable table for admin to manage the logs πŸ’‘

Admin Page

Ref: datatatble.js

πŸ’‘ A user friendly datetime picker for admin to choose the time πŸ’‘

Datetime Picker

Ref: datetimepicker.js

How to Use

⭐️ Website Link: https://himama-time-clock.herokuapp.com/

πŸ‘‰πŸ» If you are a new user (teacher) of the platform ..

  1. Go to the sign up page
  2. Fill up the form and pass the validation
  3. You will see your clock-in/out page.
  4. 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

πŸ‘‰πŸ» If you are an existing user (teacher) of the platform ..

  1. Log into the website with your credentials (email, password)
  2. Same as point 3 and 4 of new users stated above

πŸ‘‰πŸ» If you are an admin ..

  1. Log into the website with following credentials:
    • email: admin@hola.com
    • password: 12345678
    • (This is only for the test. The email is made up. 😜)
  2. You will see all clock-in and clock-out events with a sortable table.
  3. 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

Credit

This software uses the following open source packages:

About

πŸš€ a platform for employees to clock-in and clock-out. πŸ‘‰πŸ»


Languages

Language:JavaScript 87.0%Language:Ruby 7.4%Language:HTML 2.9%Language:CSS 2.8%