Skip to content

josephclander/posts-tech-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tech test to create a message post board

View the completed work

To see how the code runs now in full functioning state after cloning the repo:

cd posts-tech-test
npm install
npm run start

Get the initial starting code

Checkout the initial setup at sha 5a3278f

git checkout 5a3278f

To try yourself

Either copy the code to a new react repo, or checkout the sha and create a new branch to work from.

Tasks

  1. Render a list of JSON posts containing; 'id', 'author' and 'text'.

  2. Build a CreatePostForm component to get information for a post and add it to the top of the list.

  3. Add functionality to like a post.

  4. You can delete a post if you were the author.

  5. You can edit the post if you were the author.