✨ Julia's Tech Blog (^=◕ᴥ◕=^) ✨

🎀

NextPizza Update #2: Storybook, Unit Tests, and more 🍕

29 stycznia 2026

API

Backend integration, API, form validation, and more!

Hello NexxtPizza enthusiasts! At first, there was no connection to the database (nothing was displayed), but when I started the DB in Workbench, the API suddenly began working smoothly and the products started loading. yay

Treat this as work done for a company. Small steps forward.

What I learned during this project

  • How to write a backend that isn’t that simple. The Prisma ORM helped me a lot with this. To be honest, I’m still learning Prisma, but I already have the basics behind me.

  • I learned that hosting a database in the cloud is insanely expensive (at least for my student budget), so I’m using a local database on my own computer.

  • I learned how to validate forms on the frontend as well as incoming data on the backend 🙂

  • I configured Rapidoc, a tool for generating interactive API documentation that lets you easily view, understand, and test API endpoints directly in the browser.

  • I fixed a whole bunch of small bugs and a few bigger ones.

  • Along the way, it hit me that life is too short to waste it on doing things that bring us neither happiness nor satisfaction so smash that keyboard, go touch the grass and come back to code because you need money for the rent ಥ_ಥ

Smashing desk gif

✨ Thank you for reading. ✨