To see how the code runs now in full functioning state after cloning the repo:
cd posts-tech-test
npm install
npm run start
Checkout the initial setup at sha 5a3278f
git checkout 5a3278f
Either copy the code to a new react repo, or checkout the sha and create a new branch to work from.
-
Render a list of JSON posts containing; 'id', 'author' and 'text'.
-
Build a
CreatePostForm
component to get information for a post and add it to the top of the list. -
Add functionality to like a post.
-
You can delete a post if you were the author.
-
You can edit the post if you were the author.