Giter Site home page Giter Site logo

react-recruitment-task's Introduction

pagepro_logo

React Developer Recruitment Task

The task

Your job is to code an app with posts of users with ability to manage posts and comments. Application must be SPA and use multiple routes (listed below).

Tech stack:

Screens:

  • Homepage Homepage
    • List of users.
    • For each user you must display his details (you can omit the address).
    • On user click you will redirect to User Details page
  • User Details User Details
    • This page contains the user name at the top of the page.
    • List of user posts (just titles trimmed to one line).
    • On click on the post item you will redirect to Post Details page
    • Button that on click will open the Add post modal.
    • Back button that will go back to Homepage
  • Post Details User Details User Details comments
    • On top of the page you still have the username
    • Post full details
    • Button to remove post.
    • On remove you will have to go back to User Details page and remove current post from the list and API.
    • Button/link for comments 'show/hide comments' that will toggle the comments list visibility.
    • Button to add comment.
    • Adding comments should be similar to Add Post Modal but contain different fields and action.
    • Back button that will go back to `Posts list
  • Add Post/Comment Modal Add Post Modal Add Comment Modal
    • Title
    • Form fields
    • Two buttons Cancel, Save
    • Cancel will just close the modal and ignore changes
    • Save will connect with API and add Comment/Post to the list

Must-have:

  1. React & Redux
  2. Connection with API
  3. Usage of react-router for multiple pages
  4. Loaders when you wait for the data
  5. Validation on forms
  6. Usage of modern js functionality (ES6+)

Good to have:

  1. Typescript
  2. Clean code (linters, prettier)
  3. UI kit for styles (or styled-components)
  4. Tests

What will we be paying attention to:

  1. How you split code for components
  2. How your store looks like and how you communicate with redux.
  3. Reusability of the components.
  4. Code repetitions and reusability (keep your code DRY and simple KISS).
  5. How and where you put your business logic.
  6. Code optimization and the solution's performance.
  7. Working in accordance with good practices in general.
  8. How you communicate with API.
  9. Handling unexpected errors or potential exceptions.

upload your code on Github, Gitlab or Bitbucket and provide us the link.

react-recruitment-task's People

Contributors

jdakowicz avatar amit352 avatar klojniewski avatar

Watchers

James Cloos avatar

Forkers

aryanv28

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.