Node.js Vue.js JavaScript hapi PostgreSQL A pretty basic question for any SaaS is how you deal with what a user can do on their account in a SaaS app? Can Jane on the "Starter" plan create another widget when she is near the limit of her plan? What if she's a trial user?
When building Checkly, I found it pretty hard to find good, solid examples on how to implement this. Specifically for my stack of Vue.js and Node.js / hapi
Turns out this is a mix of things:
- Feature toggling
- Counting stuff™
- Custom API middleware very specific to your situation
Read my post on how we did this and where the bottlenecks are. The HackerNews thread on this has some great contributions too.
0 views0




