FRONT END
(BOOT STRAP)
First Screen:
Login screen (cant do anything without logging in)
Manager Screen:
can do a write up
modal pop up where they see a drop down for: employees, writes up they can do
can do a warning
modal pop up where they see a drop down for: employees, writes up they can do
can see if someone hasn't accepted punishment
list on page as they login of members with pending punishment
Employee Screen:
can see actions against them or positive comments
when employee has punishment can add comment/ see comment chain
MODELS
User
name
email
password
*passport authentication for manager/employee
Comment
who wrote comment
content
timestamp
Write ups
type
relation to employee (foreign key)
Acknowledge status
Warnings
type
relation to employee (foreign key)
Acknowledge status
BACKEND
GET routes
Employee side
needs to check to any actions against them
can click on an action against them and see what it is
FRONT END (BOOT STRAP) First Screen: Login screen (cant do anything without logging in)
Manager Screen: can do a write up
can see if someone hasn't accepted punishment
Employee Screen: can see actions against them or positive comments when employee has punishment can add comment/ see comment chain
MODELS User
BACKEND GET routes Employee side
Post routes
UPDATE route acknowledge punishment
Manager side GET Routes
DELETE route
Post routes Can send out punishments can comment