API consuming (wrapper) for https://jsonplaceholder.typicode.com/
Requirements: Fetch the posts API and make 2 pages APP (Homepage with list of posts and detail page with post body data).
• 1. Page: Display the list of post on the main page (limit 10 of them) with values: id + title • 2. Page: On single post click, fetch body value of clicked post and display it as a separate post detail page.
Fetching single post data can be done with endpoint: https://jsonplaceholder.typicode.com/posts/1