0% found this document useful (0 votes)
5 views

Frontend Coding Challenge

The document outlines a task to build a ReactJS project that integrates a company's social network activity by fetching posts and comments from provided APIs. The main responsibilities include fetching data, presenting it, and linking comments to their respective posts. Stretch goals involve implementing Redux, testing components, and enabling users to comment on posts while saving the comments in state or Redux.

Uploaded by

candela.lahaye
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Frontend Coding Challenge

The document outlines a task to build a ReactJS project that integrates a company's social network activity by fetching posts and comments from provided APIs. The main responsibilities include fetching data, presenting it, and linking comments to their respective posts. Stretch goals involve implementing Redux, testing components, and enabling users to comment on posts while saving the comments in state or Redux.

Uploaded by

candela.lahaye
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1 to 3 hours - ReactJS frontend

You are working on a new feed to promote the company social network activity, you are
provided with access to the account’s posts and comments, your job is to integrate that activity
into the website.

Task
Build a ReactJS project that fetches from the posts and comments APIs, presents a list of
posts and when any of the items is clicked show the list of comments that are associated with
that specific post.

You are responsible for:

• - Fetching the data from the API.


• - Presenting the data in the view.
• - Relate comments to posts.

Stretch goals

• - Set up project to use redux


• - Test your components
• - Allow the user to comment on a post and save the comment on state/redux.

Document any assumptions and design decisions you have made.

Posts API: https://jsonplaceholder.typicode.com/posts Comments API:


https://jsonplaceholder.typicode.com/comments

You might also like