Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

Fullstack Kanban Task Management w/ Next.js + Prisma

next, prisma, styled-components, typescript, postgres
maricastroc•560
@maricastroc
A solution to the Kanban task management web app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

The project was an excellent opportunity to practice implementing the drag-and-drop feature, as well as organizing the theme in local storage while storing other information, such as boards, columns, tasks, and subtasks, in the database via Prisma and PostgreSQL. The use of contexts was essential to keep the features organized and intuitive. Additionally, I implemented authentication using Next OAuth and built the Next.js API and its endpoints, which was a great chance to practice API construction and management.

What challenges did you encounter, and how did you overcome them?

I believe the most challenging part was managing the relationships between the entities involved in the project. In this regard, creating a context was essential to avoid prop drilling.

What specific areas of your project would you like help with?

You’ll notice that I added some additional features beyond those proposed in the challenge. I added the functionality to add tags to the tasks created, as well as set a due date and render the date color according to the task's status (overdue, due soon, or completed). I plan to add new features over time, and if you have any suggestions, I’d love to receive that feedback! I also welcome any suggestions, whether they concern bugs or potential refactoring opportunities!

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Ilya Andreev•880
    @NeoScripter
    Posted 5 months ago

    Sorry, just noticed another couple: 1) when I change the theme in mobile view, the popup disappears. 2) when I add a task on an empty board in mobile view, my screen height becomes very small and the container becomes overflow-scroll and I see two scrollbars.

    The only reason I noticed that is because I've debugged my Kanban app dozens of times, sorry :) These are meant only to help.

    Marked as helpful
  • Ilya Andreev•880
    @NeoScripter
    Posted 5 months ago

    I liked your solution as well. The drag and drop feature is amazing! The toast message is also really nice, very nice touch. After debugging my Kanban app in React for a long time, I decided to check yours for the bugs that I had as well, and I found one: when I delete all the boards, the dashboard view is still populated with tasks, even though the number of boards is 0. But most users wouldn't delete all the boards, I guess, so it's not a big deal. In terms of animation, that's just my opinion, but I'm not a big proponent of jumping popups. Again, it's just my taste. But overall, the app is super cool, I really like it! It's definitely better than the one that I made with Laravel, lol :)

    Marked as helpful
  • Ilya Andreev•880
    @NeoScripter
    Posted 5 months ago

    Wow! The new version of this app is so much better! I especially like the loading animation and the animation of elements is really cool. I wish I can make apps of the same quality some day in React, lol :) It's quite hard for me now.

    By the way, I also updated my solution, I just finished the new version of Kanban in React today, you can check it out if you want.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit all CSS, SCSS and Less files in your repository.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

How does the JavaScript validation report work?

When a solution is submitted, we use eslint to run an automated check on the JavaScript code.

The report picks out common JavaScript issues such as not using semicolons and using var instead of let or const, among others.

The report will audit all JS and JSX files in your repository. We currently do not support Typescript or other frontend frameworks.

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub