DEV Community

Discussion on: Why Do You Need a Backend?

Collapse
 
kayis profile image
K

Depends on "what the users pay for"

If you sell static stuff (images/videos/music) or physical products it could very well be that one function could be enough.

If you have some kind of SaaS, you would mark users as "subscribers" in one backend function and then would have to check this flag in every route that needs to be protected.