Skip to content

andrewhingah/Happytoons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Happytoons

Command Line Interface

Users: Users come in 3 roles: normal users, moderators, and admins. Normal users can only create new comments, and edit the their own comments. Moderators have the added ability to delete comments (to remove trolls), while admins have the ability to edit or delete any comment. Users can log in and out, and we track when they last logged in

Comments: Comments are simply a message, a timestamp, and the author. Comments can also be a reply, so we'll store what the parent comment was.

NOTE: User Users can be logged in and out. When logging in, set the lastLoggedInAt timestamp. Do not modify this timestamp when logging out Users can only edit their own comments Users cannot delete any comments Moderator is a User Moderators can only edit their own comments Moderators can delete any comments Admin is both a User and a Moderator Admins can edit any comments Admins can delete any comments Comments contain a reference to the User who created it (author)

About

Command Line Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published