Back to directory
keisto avatar

nested-comments

Take home project. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/keisto/nested-comments.git

0

Stars

0

Forks

0

Watchers

—

License

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.


The Challenge

Build an N-level deep and branching comments thread

Requirements

  • Create a default state where no comments exist and a way to add the first comment
  • Replying to a comment creates a child of that comment
  • Deleting a comment also deletes its descendants
  • Must be built in React
  • No databases required, but show the data structure in memory

Result

Demo: https://nested-comments-keisto.vercel.app

app-screenshot.png