React, React router, React hooks, Redux, TypeScript
On the main page you will see two blocks:
- Posts will display all available posts
- Post details will display details for selected post
In the "Posts" block you will find "Add new post" button. It will redirect you to the different page with the form.
Next to each post you will find three buttons:
- Open - will display post details in the "Post details" block
- Update - will redirect you to the different page with the form
- Delete - will delete the post
In the "Post details" block you will see:
- Post title and body
- "Show comments" button or a message if there are no comments for the post
- "Add comment" form
If you press "Show comments" button, you will see a comments list. The "X" button next to each comment will delete this particular comment.