Open 20Amir01 opened 8 months ago
@20Amir01, those are advanced concepts.
We tend to be as declarative as possible. For example, you can see the /HolismSite/Orders/App/cart/index.jsx
.
But this section is not complete yet. It's prone to changes, both architecturally and syntactically.
So , what should i do now with this pages in my projcet ? : /dashboard
/login
/cart
Should I leave them for now and make them static ?
Please continue work on other parts, until you've finished the project. After that we can come back to these items.
Ok , thanks :)
How should the folder structure and files inside the
App
folder be in order to manage user authentication ? Is the concept of route groups needed ? Should I develop a middleware file ? What are the work steps in general ? For smaple my project has/dashboard
and/cart
pages . These pages must be accessible as long as the user is logged in If the user is not logged in, it should be transferred to the/login
page . Should i create folders likeDashboardParts
,LoginParts
,CartParts
and aLayout.jsx
file inside it in order to handle the UI styles?