Skip to content

Instantly share code, notes, and snippets.

@danscan
Created June 25, 2015 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danscan/ee743de7a5701028047c to your computer and use it in GitHub Desktop.
Save danscan/ee743de7a5701028047c to your computer and use it in GitHub Desktop.
Modeling navigation in React Native

Router Nav

# (Not REST... Pages/Views (like a website)) ... or maybe resourceful with scaffolding
* * *

/ -> session.user ? /activity : /authenticate

# Main Nav
/activity
/progress
/worksheets
/tutor
/inbox

# Secondary Nav
/studentProfiles
/redeemGiftCards
/referAFriend
/accountSettings
/about
/subscription
/support
[log out]

...(tbd)

## Student Profiles
/studentProfiles
/studentProfiles/addStudent

## Redeem Gift Cards
/redeemGiftCards -> /redeemGiftCards/rewardsOptions
/redeemGiftCards/rewardsOptions/{id}
/redeemGiftCards/claimedRewards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment