Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.53 KB

File metadata and controls

41 lines (22 loc) · 1.53 KB

Functionality

This web app is designed to allow New/Edit/Delete/Vote(UpVote/DownVote) actions for Posts in Specific Categories. It also allows the same for Comments associated with the Post. The Categories/Posts/Comments work with the Developed existing Server Side using Async Calls.

Posts and Comments are Sorted by Votes by default. For Posts it includes Drop Down Option - Sorting by Votes and Created At for Posts.

The Main Posts Page reflects the Posts in all Categories and Filters by Category when Specific Category Heading is clicked. It has Create Post button for new post besides Edit and Delete Icons in the List of Posts. It has Voting buttons too.

The Show Post Page shows Post Body and Associated Comments. It has Add Comment button to allow for new comment besides Edit and Delete Icons in the List of Comments. It has Voting buttons too.

Installation

From root of the directory at reactnd-project-readable-starter:

cd api-server

nodenv local 8.4.0 ( This step is optional; project tested with node version 8.4.0; nodenv is at https://github.com/nodenv/nodenv)

npm install

node server

cd redux-client

nodenv local 8.4.0

npm install

npm start

API Server

Information about the API server and how to use it can be found in its README file.

Front End Additions

Information about the React Redux based Front End Additions can be found in its README file.

Copyright

Please notify if you are directly using code from here. Thanks. Copyright © 2009-2017, Rohit Sachdeva