Skip to content

Frontend Routes and Components

Kevin Le edited this page Mar 18, 2022 · 43 revisions

Components

  • Root
    • App
      • Nav
        • Search
        • Greeting
      • Content
      • Footer

Frontend Routes

  • / - landing page

  • /login - login page

    • LoginForm
  • /signup - signup page

    • SignupForm
  • /users - INDEX page of all users

    • UserIndex
  • /users/:userId - SHOW page of specific user

    • UserProfile
  • /users/:userId/edit - EDIT user data (only for the profile of the current user)

    • UserProfileForm
  • /questions - INDEX of all questions

    • QuestionIndex
      • QuestionIndexItem
  • /questions/:questionId - SHOW page of a specific question

    • QuestionThread
  • questions/new - CREATE a question (ask a question)

    • QuestionForm
      • form action changes depending on frontend route
  • questions/:questionId/edit - EDIT question text (only for the question asker)

    • QuestionForm
      • form action changes depending on frontend route
  • answers/new - CREATE a question (ask a question)

    • AnswerForm
      • form action changes depending on frontend route
  • answers/:questionId/edit - EDIT question text (only for the question asker)

    • AnswerForm
      • form action changes depending on frontend route

Clone this wiki locally