The Laravel code lies in the root directory. You can find out more about the layout of that here.
- There are no additional folders in the Laravel App that don't ship by default
- The Next.js app lies in the
- You can find all custom components under
/configdirectory holds the very important
config.tsxfile, where some axios default options are declared and your proteced routes are defined. You can find more detail about that here
- As per default in Next.js apps, the pages that are accessible via the browser live under
pages. In there, you can find a
userdirecory, where all routes related to authentication live in. The
_document.tsxare customized to our needs.
- Also, all publicly and statically available assets are located in
/servicesdirectory includes all reusable functionality of your application. For example, the
/services/Auth/AuthGuard.tsxclass takes care of authenticating the currently logged in user on the server side and redirects the user if necessary. As you extend your application, you are likely to reuse some functionality across different circumstances. We highly recommend you to take advantage of the
/servicesdirectory in these situations.
/storedirectory holds all redux specific functionality. Read more about that here