Skip to content

Next.js app that allow user to add feedback and comment on others feedbacks. used MongoDB and Prisma with Next.js api for backend and Tailwind CSS for frontend.

Notifications You must be signed in to change notification settings

Abd3lwahab/product-feedback-app

Repository files navigation

Frontend Mentor - Product feedback app solution

This is a solution to the Product feedback app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

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 product feedback requests
  • Receive form validations when trying to create/edit feedback requests
  • Sort suggestions by most/least upvotes and most/least comments
  • Filter suggestions by category
  • Add comments and replies to a product feedback request
  • Upvote product feedback requests
  • Keep track of any changes, even after refreshing the browser

Screenshot

Links

My process

Built with

What I learned

Using Next.js with Prisma and MongoDB was a new experience for me and I learned a lot from it.

export async function getServerSideProps() {
  const feedbackList = await prisma.feedback.findMany();

  return {
    props: { feedbackList },
  };
}

Continued development

Planning to add authintication using auth0 and add more features like search and more filters

Useful resources

Author

About

Next.js app that allow user to add feedback and comment on others feedbacks. used MongoDB and Prisma with Next.js api for backend and Tailwind CSS for frontend.

Topics

Resources

Stars

Watchers

Forks