Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codersuresh/fullstack-comment-section
https://github.com/codersuresh/fullstack-comment-section
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/codersuresh/fullstack-comment-section
- Owner: coderSuresh
- Created: 2023-09-10T07:46:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-18T11:03:24.000Z (about 2 months ago)
- Last Synced: 2024-09-18T15:10:51.286Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://fullstack-comment.vercel.app
- Size: 830 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Interactive comments section solution
This is a solution to the [Interactive comments section challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/interactive-comments-section-iG1RugEG9). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Extra](#extra)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Author](#author)## Overview
### The challenge
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Create, Read, Update, and Delete comments and replies
- Upvote and downvote comments
- **Bonus**: If you're building a purely front-end project, use `localStorage` to save the current state in the browser that persists when the browser is refreshed.
- **Bonus**: Instead of using the `createdAt` strings from the `data.json` file, try using timestamps and dynamically track the time since the comment or reply was posted.#### Extra
- **Bonus**: Add header with user's name, avatar (hardcoded image for now), and logout button
- **Bonus**: Add login/register page with form validation
- **Bonus**: Make the app fullstack by adding a backend with Next.js API routes and MongoDB
- **Bonus**: Show error message on modal
- **Bonus**: Show loaders when fetching data### Screenshot
![](/public/screenshot.png)
### Links
- Solution URL: [https://github.com/coderSuresh/fullstack-comment-section](https://github.com/coderSuresh/fullstack-comment-section)
- Live Site URL: [https://fullstack-comment.vercel.app/](https://fullstack-comment.vercel.app/)## My process
### Built with
- [Next.js](https://nextjs.org/) - React framework
- [Tailwind CSS](https://tailwindcss.com/) - For styles
- [TypeScript](https://www.typescriptlang.org/) - For type checking
- [MongoDB](https://www.mongodb.com/) - Database### What I learned
I learned how to use Next.js API routes to create a REST API. I also learned how to use MongoDB with Next.js.
### Continued development
I want to continue learning how to use Next.js API routes and MongoDB. I also want to learn how to use Next.js with GraphQL / Express.
## Author
- Frontend Mentor - [@codersuresh](https://www.frontendmentor.io/profile/codersuresh)
- Linkedin - [@codersuresh](https://www.linkedin.com/in/codersuresh)