- Display the number of votes
- Functioning Upvote and Down vote controls
- Display the number of comments
- Sort the stories by number of upvotes
- The title should be a real link
- Other links do not need to be functional(share,save,hide,etc.)
- App (contains state, AJAX, and is parent to the other components)
- Maybe: Navbar (Sort in StoryList !! )
- StoryList (Renders the list of stories based on points - usually happens serverside.)
- Story (Will include StoryTitle, TitleLink)
- StoryTimestamp (based on data from API, Moment package to display x hours ago)
- StoryAmountComments (props)
- StoryPoints (stateful, controlled from the parent)
- StoryThumbnail
- Story (Will include StoryTitle, TitleLink)
This project was bootstrapped with Create React App.
Available Scripts
In the project directory, you can run:
npm 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.