The use of asynchronous functions that utilize Typescript and handle
errors gracefully while avoiding SQL injections.
Authorization
Utilizing the power of the Supabase Auth framework with NextJS
Server Actions ensures data is safe and processed on the server,
eliminating any man-in-the-middle attacks or data interception.
NextJS Dynamic Routing
NextJS's built-in [slug] parameter and Reacts useEffect() Hook allow
for the dynamic generation of customer data depending on customer
ID. If no customer exists, the error is handled, ensuring the
application or API does not crash.
The use of React-pdf allows for customizable on-device PDF creation,
with the ability to tailor the look and feel of the PDF file. It
also provides for in-browser PDF viewing and custom-set download
names.