8000 GitHub - mabuyo/Chalk-CodingChallenge: Displays a list of teachers.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mabuyo/Chalk-CodingChallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chalk Coding Challenge

Simple web app that displays fake teacher data in a list, with the ability to click on a teacher to view their full profile. A teacher's full profile should display their first and last name, email, avatar and what class(es) they teach.

JSON Schema

Sample API Endpoint

[
  {
    "id": <Integer>,
    "first_name": <String>,
    "last_name": <String>,
    "email": <String>,
    "avatar": <String (Nullable)>,
    "classes": <Array (Nullable)>
    [
      {"class": <String>},
      ...
    ]
  },
  ...
]

Assumptions

  • If a teacher has duplicate classes, I assume that each instance of the class represents a different section (i.e. different students). I chose to consolidate that information into one "subject" and indicate how many classes they teach of that subject, for example: Math (3 classes)
  • The user is someone who knows any of the following information: the teacher's name, the teacher's email, the class they're teaching. The search and filter function makes this goal easier for them. Because there is no login functionality, it's assumed that the teachers on the list are okay with making their information public.
  • The feature to filter by class is hardcoded on the front-end, so my assumption is that all the classes that can be filtered are known beforehand.

Future Improvements

  • Multi-select for filtering out classes, custom styling for selecting the classes (instead of native).
  • Mobile-responsive (for smaller screens and mobile, the layout isn't quite right (ex. arrow icon to expand is in next line if teacher info is too long)).
  • Show loading icon at start while teacher data is loading.
  • Show the number of teachers currently in the list.
  • Add ability to sort by name or email.

Other

This project was bootstrapped with Create React App.

Assets:

  • PlaceHolder Robot Icon - Source

About

Displays a list of teachers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0