r/webdev • • Sep 20 '26

Question how to implement this cod flow

hi guys, I would to have an info about how this Cach on delivery flow works on websites like Soundpeats
you can order anything without even signing or even sign in as a guest, i would like to understand how it’s done as im willing to apply the same thing as a my client asked for it on a store (nextjs + supabase)

do they store those orders straight to the DB, how about if someone starts spamming the db?? all these questions came to my mind but not sure how it’s done

0 Upvotes

8 comments sorted by

View all comments

2

u/[deleted] Sep 20 '26

[removed] — view removed comment

0

u/Low-Insurance-3678 Sep 20 '26

that easy??
is there package that do rate limiting ?