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

NextAuth to login

next, prisma, supabase, tailwind-css, fetch
Anas Osta•30
@AnasOsta
A solution to the Interactive comments section 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?

I’m most proud of building a complete interactive comments system from scratch, including backend with Prisma and authentication using NextAuth and bcrypt. Next time, I would improve error handling and optimize API performance for better scalability.

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

The biggest challenges were integrating Prisma with Supabase and handling nested comments with replies and likes. I overcame these by carefully structuring database queries and learning how to manage relational data effectively.

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

I would appreciate feedback on optimizing database queries for better performance, and suggestions on improving security in the authentication flow. Also, advice on advanced state management techniques in Next.js would be helpful.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Anas Osta's solution.

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

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

Frontend Mentor

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

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