Hello! My name is Kevin. Just want to say thanks to this page I started ReactJS, Netlify and Faunadb development ( personal use only for now ). I do have a question though… I am trying to show an “Admin” page one one is signed in/logged in. I’m just coming to a wall that has me pulling my hair out. LoL… If that something that could work, right? I’m using Netlify’s Identity as authorization and PrivateRoute. All of my code is on CodeSandBox, pushing to GitHub and deploying on Netlify. I appreciate your assistance on this. Thank you once again!!!
Thanks for the kind words
You can use Netlify identity and a router to protect app routes.
Here is an example implementation https://github.com/DavidWells/awesomesauce/blob/master/src/App.js#L77-L99
The live site can be seen here: http://feature-voting.netlify.com/
The http://feature-voting.netlify.com/profile/ route is protected and shown to only logged in folks.