Git Product home page Git Product logo

back-end-developer-exercise's Introduction

Back-end developer exercise

ยฉ 2018 Renderbit Technologies LLP.

Prerequisites

You should be familiar with PHP 7, Laravel 5, Git and GitHub.

Getting Started

This tutorial assumes you have a PHP 7 development environment set up on your machine, with the following components at minimum:

  1. PHP 7.1 or better
  2. Choice of server (Apache/Nginx)
  3. Choice of Database (MySQL/MariaDB/PostgreSQL/SQLite)
  4. Choice of IDE/Editor

Fork this repository, and clone your fork locally. All submissions have to be made as a pull request against this repository.

Requirements

You have to design a blogging application.

Any user can sign up and create a blog of their own. When signing up, you have to record the user's full name, unique email address, password (8 characters minimum with 1 special character required) and choice of unique username.

The homepage of the blog can be viewed by anyone without login. The homepage shall show a list of all blog posts by all users, with most recent posts on top. The list of blog posts shall be paginated, with 8 posts per page. On clicking a post, a user can view the entire post content.

Every user shall have his/her blog home page at <sitename>/<username>. This page shall show a list of all posts by the particular user, with most recent posts on top. This list of blog posts shall also be paginated, with 8 posts per page. On clicking a post, a user can view the entire post content.

A blog post has the URL <sitename>/<username>/<post_unique_slug_from_title>. A blog post has a post title and post content. Anyone can view a blog post without login. However, you need to login to comment on a blog post. Any user can comment on any blog post. However, a user can only delete comments that he has made on other users' blog posts. The author of the blog post can delete any comment on the blog post made by any user. The comments are shown below the blog post content, with most recent comments on top. A form to add a new comment is shown above the comments thread.

Every user can access the admin panel at <sitename>/admin. A user has to login to access the admin panel. The admin panel should show a list of all posts, with an option to edit and delete each post. The admin panel should also have an option to create a new post.

UI

You are free to use any UI framework or library of your choice. We recommend Bootstrap as a good place to get started.

Note that you are not required to build a mobile responsive website, although if you build one, we will be assigning extra credits for that.

Libraries & Frameworks

You are free to use any libraries, frameworks & tools which you think will be useful to build this application. No credits are deducted for use of libraries.

Extra Credits

  • Implement a social login feature which allows users to login and sign up via their Google+/Facebook/Twitter/Github accounts.
  • Allow photos to be inserted into blog posts.
  • Allow WYSIWYG editing of blog posts with rich formatting support.
  • Implement a CAPTCHA for adding comments.
  • Implement two-factor authentication for login using SMS for one-time passwords.
  • Surprise us. ๐Ÿ˜ƒ

back-end-developer-exercise's People

Contributors

soham2008xyz avatar imkeshriraj avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.