Giter VIP home page Giter VIP logo

frontend-coding's Introduction

frontend-coding

Overview:

Overall I've taken 2.5h for the challenge.

Due to the nature of the challenge being a couple of hours only. I've prioritized functionality over looks for now. If this was a real case scenario, I would take more time and attention on styling.

If I had 6 hours for this challenge instead of 2-3h I would:

  • Improve error handling, especially around the api functionality.
  • Add Jest testing for api functionality.
  • Add Navigation with React Router.
  • Add a better state management such as Redux or Context.
  • Improve upon styling, colours, alignment, etc.

If I had an extra 2 full hours, I would aim for full test coverage with Jest testing.


I've enjoyed working on this challenge. Thank you for the opportunity to join the team at Fanvue.

Original README below:

Setup the project:

Make sure you install all the dependencies (currently yarn, but you can opt-out) and start the solution in dev mode.

There is a simple homepage with links to the tasks below.

First Task:

  • in the "feed" page, show a centered column of posts (use https://jsonplaceholder.typicode.com/ to get the data) which are simple boxes with the title and body properties returned
  • for each post, fetch its relative comments and show the counter, or nothing if there are no comments
  • when clicking on the comment counter, the comments appear below it

Second Task:

  • create a "vault" page, showing a responsive grid of square pictures (use https://jsonplaceholder.typicode.com/ to get the data) which are simple thumbnails
  • when clicking on a thumbnail, the fullscreen image opens

Requirements:

  • You should use MUI5 components https://mui.com/material-ui/
  • You can create your own component if needed, style it with the default styled from MUI without installing other libraries

Bonus points:

  • SSR considerations
  • Type the responses from the API calls
  • create meaningful tags in the head of each page
  • add the favicon stealing it from fanvue.com ;)
  • a11y considerations

frontend-coding's People

Contributors

christellevs avatar ogroppo avatar orlando-fv avatar

Forkers

islam-cod

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.