DEV Community

Cover image for Full Tutorial #13: Setting Up Private Routes in React Router | Microservices Chat App Using React, Node and GraphQL
Better Coding Academy
Better Coding Academy

Posted on

4

Full Tutorial #13: Setting Up Private Routes in React Router | Microservices Chat App Using React, Node and GraphQL

About Me: I've been a professional web developer for just over 10 years now. I'm currently the lead web development instructor at Better Coding Academy, and as part of what I do, I post videos on our YouTube channel at https://www.youtube.com/c/BetterCodingAcademy.

(Subscribe for awesome web development content!)

Part 13 of the Microservices Chat App is here! In this episode, I show how we can create a custom <PrivateRoute /> component to conditionally grant access to certain routes from within the React app.

Happy coding!

Source code: https://github.com/lucaschen/microservices-chat-demo

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video