Based on a fictional concept, employees can log in and request vacation days. A supervisor/administrator will log in as well and approve or reject requests sent by each user.
Users are able to:
sign in
andsign out
on the platformcreate new applications
filling the appropriate fieldsview
if their applications have beenapproved
orrejected
by the supervisor/administrator
A Supervisor/Administrator is able to:
sign in
andsign out
on the platformmanage
active applications published by the users (approve
orreject
them)create
new users oredit
existent
Due to the current approach, there is no viable need to create an ER diagram
since we only have two active tables within our DB, users
and requests
.
Created a user_id
column to the requests
table to match each id
from users
{1-N
(1 user has N requests)}.
I have bypassed the need for an admin
since the only difference between an plain
and an admin
user is their dashboards
and their type
column.
You can use the following credentials to log in:
- Type
user/employee
- Email:[email protected]
, Password:admin
- Type
user/admin
- Email:[email protected]
, Password:admin
Frontend:
Bootstrap 3
(Responsive Framework/CDN)FontCDN
(Online Fonts)jQuery
Backend:- Native
PHP 7
MySQL
A Xampp
web server or any webserver with MySQL and PHP 7+.
Import
the SQL dump file using thephpmyadmin
panel/or any panel availableMove
files to thehtdocs
folder of your web serverStart
theapache
andmysql
services- Open the browser and head over
localhost
G. Karl Zafiris
- georgezafiris.com
- MIT