Your dashboard numbers should be four COUNT(*) queries: the metrics endpoint I ship with every kit
Most dashboards I've inherited show one of two things: numbers hardcoded in the frontend ("Total Users: 1,204" that never changes), or one monster query behind an endpoint that takes two seconds and d
kamrankhandev.hashnode.dev4 min read