Skip to content

Instantly share code, notes, and snippets.

@garyconstable
Created July 8, 2019 20:49
Show Gist options
  • Select an option

  • Save garyconstable/8c2d8ca7fe7450f5d046fa1016733131 to your computer and use it in GitHub Desktop.

Select an option

Save garyconstable/8c2d8ca7fe7450f5d046fa1016733131 to your computer and use it in GitHub Desktop.

Revisions

  1. garyconstable created this gist Jul 8, 2019.
    38 changes: 38 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    ### Project

    We’d like you to build an administrated user system which allows users to comment on other peoples profiles.

    Here are the requirements:

    + A login and registration system - users must be authenticated to do any of the following.
    + A page where users can view all the users on the system (including themselves).
    + Each listing should only show the user’s name, and when they were last updated.
    + Each user must have a profile page that can be navigated to from the listings page.
    + This page should show more information about the user, such as their email and biography.
    + Users should be able to update their own profile page, but nobody else’s.
    + Users can comment on a profile, all comments should be displayed. (Don’t worry about nesting replies)
    + User’s can be flagged as admin’s.
    + Admin users can delete comments and ban users.

    Build requirements:

    + Please build the application in Laravel.
    + Please use Laravel’s built in auth system and middleware for the login system.
    + Please don’t install any vendor packages to provide any of the required functionality.
    + Please use GIT from start to finish as the repository will need to be shared with us on completion.
    + Don’t stress about making it look pretty, although you’re welcome to style it / use a CSS framework.

    Bonus points for:

    + An attempt at unit testing.
    + A readme file to make it easier for me to review the code.
    + An attempt at using docker-compose for local development (I can provide you with a Laravel image if requested).