\_layout This will the starting of the application. This will contain all the expo router setup.
[...missing].tsx This file will be responsible for showing the UI if any route is not available.
+html.tsx This contains all the meta information regarding the application. We can also pass all the scripts here.
.... routes All the routes that will be available will have a separate file with Example.tsx. You can read more about this on [https://docs.expo.dev/router/introduction/] (expo-router documentation)
(auth) We should create grouping folder if some screens share same layout. Read more about this in expo-router.
graphql: This contains all the queries and mutations. We need to have the backend up for those queries and
mutations and then run npm run codegen to generate hooks to consume those queries an mutations.
types: This has all the types for that plugin.
services: This has all the services defined. We can define zod validation schemas here.
utils: Methods that are very generic can be defined here. Such as checkTokenExpiry etc.
hooks: We need to define all the hooks here. For example a hook which exposes all the methods used for
authentication. Or useSession hook which exposes status and user details.
context: All the contexts are defined here.
__tests__ : Jest test cases framework has been setup. If you want to run the tests, you can write your tests in this directory and run using the command yarn or npm test
assets : assets used in the project will be kept here
components : all the components will go here. If the components are common, add in components folder directly or create specific folder to keep the components . For e.g. assets/auth/abc.png
.env : This will contain all the env variables required in the application
app.json : This contains expo related configuration for the app.
tsconfig.json : this will contain all the typescript configurations. You can set paths in individual modules.
node_modules/: Directory for installed NPM dependencies.
package.json: Configuration file for NPM packages and scripts.