Developed by TJ Klimoski.
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.
Nested Comments was built with:
- React (Next framework)
- RESTful api backend
- PostgreSQL
- Prisma ORM
- Axios
- Vercel CRON job (scheduled job)
- Javascript
- HTML
- CSS modules
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/