Skip to content

Instantly share code, notes, and snippets.

@michaelbunch
Last active May 31, 2018 16:20
Show Gist options
  • Save michaelbunch/8f350cbccb7b1cb819512a2333d0f867 to your computer and use it in GitHub Desktop.
Save michaelbunch/8f350cbccb7b1cb819512a2333d0f867 to your computer and use it in GitHub Desktop.
Interview Development Task - Part 2

Interview Development Task - Part 2

Task

Your users love the service but would like some new features. The bookmark list can get very long, so they only want to see 20 bookmarks per page. It can also be difficult to find bookmarks created by the user, so they need filter to only show the logged in user's bookmarks. Lastly, users would like the ability to create private bookmarks only they can see.

Estimated time to complete: 1 - 2 hours

Requirements

The following requirements should follow Laravel best practices and should not be developed beyond the basic scope of the project. Before writing any code be sure to read the Laravel documentation related to the feature carefully. Laravel simplifies many things for you.

The application should be treated as if already deployed to a production environment and new features should be developed appropriately.

The user interface should be as simple as possible. The use of CSS is up to the developer and is not part of the evaluation. If you wish to use a UI library make sure it is included in the templates via CDN.

Do not use any PHP packages/libraries except for what Laravel includes during installation.

Do not create any new pages for the requested features. The task should be accomplished using the existing URLs.

Private Bookmarks

Bookmarks set as private should have an indicator so the user can tell the difference. Conversely, bookmarks that are not provate show have their own distinct indicator. Existing bookmarks should default to public, but can be changed when editting the bookmark.

Please use the following in the project

  • Form Validation
  • Form protection
  • Pagination
  • Database Migrations (Seeders helpful but not required)
  • Blade templates
  • PSR-2 formatting
  • Use Composer

Submission Instructions

  • Using the existing Github repository titled user-bookmarking-platform, create a new branch called task2.
  • Code should be submitted as a pull request (PR), but NOT merged.
  • Add user michaelbunch as a Reviewer on the PR.
  • Feedback will be submitted to the PR.
  • Feel free to ask questions via the Issues section by assigning the question to michaelbunch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment