I'm a (self-taught) solo-developer trying to build my first full stack app. I can't really find much information about the topic, maybe I`m following the wrong path:
What I`ve achieved:
What I want to achieve:
At the moment once the users are registered and logged in they can access to a only one common CRUD user table. So any user can modify the common CRUD user table. But what I want is that each user has his private CRUD user table.
The stack of the app is:SCSS; Node.js;Express.js;Handlebars;MySql
I willing to learn any other tool to go ahead with the app. Thanks for any roadmap/suggestions!
If you must use this table-per-user application design, you will do the following:
But, this application design does not scale up well. MySql does ok with hundreds of tables on a single server, but not with thousands or tens of thousands. That's because each concurrently open table takes significant RAM, CPU, and IO resources. All those resources are expensive and limited. Please, consider an alternative design with shared tables with useridcolumns.