Skip to content

Frontend Routes

Colin Eckert edited this page Feb 6, 2021 · 8 revisions

Frontend Routes & Components

  • /
    • Splash
  • /login - login existing user (includes button for demo login)
    • SessionForm
  • /signup - create new account
    • SessionForm
  • /notebooks - render user's notebooks
    • NotebookIndexContainer
      • NotebookIndex - show list of user's notebooks
  • /notebooks/:notebookId- show selected notebook and notes
    • NotebookShowContainer
      • NotebookShow
    • NotesIndexContainer
      • NoteIndex
        • NotesList
          • NotesListItem
  • /notes - show all user's notes
    • NotesIndexContainer
      • NoteIndex
        • NotesList
    • EditorContainer
      • Editor - default to show most recently updated note
  • /notebook/:notebookId/:noteId - render selected note to edit
    • NotesIndexContainer
      • NoteIndex
        • NotesList
          • NotesListItem - highlight selected note
    • EditorContainer
      • Editor- show selected note title and body
  • /notes/:tagId - show all notes filtered by tag
    • NotesIndexContainer
      • NoteIndex - filtered by tagId
        • NotesList
          • NotesListItem
    • EditorContainer
      • Editor- show content of first note in filtered list
  • /notebooks/:notebook_id/notes/:tagId - shows notes in notebook filtered by tag
    • NotesIndexContainer
      • NoteIndex - filtered by notebookId and tagId
        • NotesList
          • NotesListItem
    • EditorContainer
      • Editor- show content of first note in filtered list

Note that a NavContainer and Nav component will be present at all front-end routes.

Clone this wiki locally