Magicaryn / EventTracker

database to create and store team member events
MIT License
0 stars 2 forks source link

MVP Target #2

Open drewhermanson opened 8 months ago

drewhermanson commented 8 months ago

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

Post routes

comment on punishment

UPDATE route acknowledge punishment

Manager side GET Routes

sees punishments pending

DELETE route

can delete pending punishments if want

Post routes Can send out punishments can comment

Magicaryn commented 8 months ago

https://eventtracker.onrender.com