solvioapp / amos-web

Moved to https://github.com/amosapp/amos
https://www.amos.app
4 stars 1 forks source link

Routing #3

Open hacker-DOM opened 5 years ago

hacker-DOM commented 5 years ago

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:

Not authenticated:

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)