Demonstration of the file system navigation with expo router
Navigation Structure — Project Structure — Develop it
This project demonstrates how Expo Router could be used to create a basic authentication flow.
If you want to create your own initial project with this boilerplate template, use npm or yarn.
- 
npm
npx create-expo-app your-app-name --template expo-router-template - 
yarn
yarn create expo-app your-app-name --template expo-router-template 
Preview-Navigation.mov
app/
  _layout.tsx # Stack
  (auth)/
    _layout.tsx # Stack
    login.tsx
    onboarding.tsx
    register.tsx
  main
    _layout.tsx # Drawer
    home/
      _layout.tsx # Tabs
      feed.tsx
      notification.tsx
      profile.tsx
      search.tsxapp- The navigation structured with all the the screens on the app.context- The context for the authentication flow that expose hooks to access the context withuseAuthand handle the authentication/authorization routing withuseProtectedRoute.
To get your hands dirty, follow these steps.
- 
$ npm installor$ yarn install- This will install all the required dependencies. - 
$ npm startor$ yarn start- This will start the app, select a platform once complete. 
with ❤️ Expo