Skip to content

jcj-21-route-guarding#119

Open
josecabrerajr7 wants to merge 53 commits into
Shift3:masterfrom
josecabrerajr7:jcj-21-route-guarding
Open

jcj-21-route-guarding#119
josecabrerajr7 wants to merge 53 commits into
Shift3:masterfrom
josecabrerajr7:jcj-21-route-guarding

Conversation

@josecabrerajr7
Copy link
Copy Markdown

Order and view-orders routes are protected and should only be seen when user login. Did not store user login info if they refresh the page and it will redirect the user back to the login screen. Learned a lot about Reducers, connect, and dispatch. This was a challenge!!

Closes #21

…variable before exporting as a module default
… deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
…ed constructor to call this.state instead of state only.
…l. Email was not being return because login parameter.
…nd don't show user protected routes until login info is return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Route Guarding

1 participant