Skip to content

Tjklimoski/nested-comments

Repository files navigation

Nested Comments

Developed by TJ Klimoski.

Live demo
Github

About Nested Comments

A demonstration of a nested commenting system that includes the ability to edit, reply, like, and delete comments. Users can also hide or show groups of nested comments.

Creating a comment on the post Editing your comment Replying to a nested comment (another reply) Hiding a group of nested comments

Technologies

Nested Comments was built with:

  • React (Next framework)
  • RESTful api backend
  • PostgreSQL
  • Prisma ORM
  • Axios
  • Vercel CRON job (scheduled job)
  • Javascript
  • HTML
  • CSS modules

How to Run Locally

Clone repo:

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

Install dependecies:

npm i

Add a .env file in the root:

touch .env

Populate the .env file with your postgreSQL database connection url:

NODE_ENV="development"

# postgres db url
DATABASE_URL=your_url

Then, to run locally:

npm run dev

Application available at http://localhost:3000/

About

an example of a nested comment system that runs on nextjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published