Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Routing #3

Open
hacker-DOM opened this issue Jun 16, 2019 · 0 comments
Open

Routing #3

hacker-DOM opened this issue Jun 16, 2019 · 0 comments
Assignees

Comments

@hacker-DOM
Copy link
Member

hacker-DOM commented Jun 16, 2019

I think we should have:
/ - Search view (slightly different for auth & Nauth)
/signup - (Nauth only)
/signup/email (Nauth only)
/login (Nauth only)
/notifications (Auth only)

(Screens that are auth or Nath only should redirect to / if user is authed/nauthed)

As for reviews, we currently have (each point is a screen)
Authenticated:

  • links
  • topics
  • learning requirements

Not authenticated:

  • review
  • links
  • topics
  • learning requirements

I.e. we have one ‘introductory’ screen for not authenticated users. I think the best is

/review - if authed, it will redirect to review/links
/review/links - slightly different authed/nauthed
review/topics
review/requirements

Not their own routes:
signup success
review success (slightly different for auth/Nauthed)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants