Submitted 6 months ago
Responsive invoice app using Next.js, Tailwind and Prisma ORM
@Mariia22
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm most proud of having applied new technologies for myself as Next.js, Prisma, react-hook-form and tried out server actions. Next time, I would model the database differently and try using a different architecture for file storage in the application.
What challenges did you encounter, and how did you overcome them?The main problem is updating the data in the invoice database. The biggest issue was updating the invoice table because the form does not retain the keys obtained from the database. I found a workaround by deleting and recreating the list, but I consider this a poor solution.
What specific areas of your project would you like help with?- How to correctly design a database model of invoice?
- How to update invoice data using useFieldArray at react-hook-form and prisma?
- How to add a pending status when working with server actions?
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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