Step 11 - The Storage

This lesson preview is part of the 30-Minute Fullstack Masterplan course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to 30-Minute Fullstack Masterplan, plus 80+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course 30-Minute Fullstack Masterplan
  • [00:00 - 00:06] Step 11 is the storage. So we have a great plan for the front end client already.

    [00:07 - 00:20] But we also need to think about the backend, as unsexy as it might be for some. This file part is going to help us come up with great schema for our specific app and our specific circumstances.

    [00:21 - 00:38] So we don't go ahead and build something that's ultimately as scalable. And I was so that we does have to potentially make massive storage database and schemas and end up with basically huge problems.

    [00:39 - 00:56] Because the further down the layers you are, the more complex, the more complicated and hard it is to change something as a scale up. So the database might be the hardest change than the backend and then the front end.

    [00:57 - 01:07] So with that being said, here is our prompt. This is obviously going to need a backend and since it's bulk, I'm going to have to use super-based with it.

    [01:08 - 01:29] Give me the most available and price efficient schema I need to use for this app with super-based. Because if we don't create the schema as more ourselves, bulk will try to do it in a way that it thinks it's best, but bulk also doesn't really take account scalability and the price efficiency.

    [01:30 - 01:33] So what do we do? We'll give you a great schema.

    [01:34 - 01:45] They might not be the best to enter you long term. So this is super-based schema design optimized for all the security in queries, scalar and rad-chevy users, minimum storage costs.

    [01:46 - 02:32] So as you see here, for example, we go with text injection alert nodes. We have users, we have chat sessions, we have chat messages, we have journals, we have modes, we have settings, some setup nodes are in less than a blown up tables, all the session you guys will do for our patience for our patience for any kind of unique cascade, schedule jobs, start statements, session blog, select using selectable, or clean.

    [02:33 - 02:50] So use mostly take data, batch inserts, anonymous session sort expire, and super-based account position for data limits on journal engines for free users. That's actually a good idea.

    [02:51 - 03:05] That is really to have the maximum journal entries, but it's good that it's taking about more than just up building. Which was obviously wouldn't do it by themselves.

    [03:06 - 03:25] So now with all that, we've done everything from related, prompt related for this world. I'd love to cover everything today, honestly, but it's already been 45 minutes since we started.

    [03:26 - 03:30] And there's not enough time to do everything. And that's all for now.