Skip to content

mejiaej/news-feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

Scenario

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 API’s, 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

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published