devAbhijeet / cure-fit-interview-challenge

Created with CodeSandbox

Home Page:https://codesandbox.io/s/github/devAbhijeet/cure-fit-interview-challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cure fit interview challenge

Given an end point URL to fetch all the posts and comments. Do the following.

  • Map all the comments to the posts it belongs to. The resultant data after mapping should be of below structure.
{
  postId: [commentId, commentId]
}

sandbox

About

Created with CodeSandbox

https://codesandbox.io/s/github/devAbhijeet/cure-fit-interview-challenge


Languages

Language:JavaScript 80.1%Language:HTML 16.7%Language:CSS 3.3%