Skip to content

Instantly share code, notes, and snippets.

@MarcinCholewka
Created January 21, 2019 08:19
Show Gist options
  • Save MarcinCholewka/d0232788fa64390ab5d8ec3358d8db6a to your computer and use it in GitHub Desktop.
Save MarcinCholewka/d0232788fa64390ab5d8ec3358d8db6a to your computer and use it in GitHub Desktop.
HR Activities manager
Background
You were assigned a task to create React.js application to mange activities for the human resources department in ABC company. HR managers now place sticky notes on the blackboard with the activity description and the employee name. When the activity is done, they take that note from blackboard and trash it.
Since you are a frontend developer you have agreed to automatize this process by applictation based on React.js with REDUX store.
Functionalities
The Activity manager application should have the following functionalities:
Activities have description, employee name, and done/undone status
Menu with the following links: Employees, Add activity, Current activities, Past activities
Page for Employees - where they can list all employees and add new ones
Page Add activity - where they can add new activity (writing some description and selecting employee from the dropdown)
Page Current activities - they see a list of all undone activities with description and to whom they are assigend - they can click on a link 'Mark as Done' within each activity and it would cause it to disappear from the list (it will appear on Past activities list in turn)
Page Past activities - they can see list of done activities with descriptions and to whom they were assigned
Note
Don't bild everything from scratch - use some app generator to create React.js with ES6 config. You can install any library you need and use any documentation online. The goal of this task is to have all the functionallity in place. The app does not need to look pretty at this stage so you don't need to bother with styling for now. When you finish, please push the solution onto your github account.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment