© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
D. B. Duldulao, R. J. L. CabagnotPractical Enterprise Reacthttps://doi.org/10.1007/978-1-4842-6975-6_12

12. Protecting Routes and Authentication in React

Devlin Basilan Duldulao1   and Ruby Jane Leyva Cabagnot1
(1)
Oslo, Norway
 

In the last chapter, we’ve shown how to create, delete, and update our app’s events using Redux Toolkit. We’ve learned how efficient and convenient it is to do CRUD with our Store, which holds all our application’s global state.

In this chapter, we are going to build a login and a registration form for our application. We will start with the fake Node json-server, which we have installed in the previous chapter. The json-server allows ...

Get Practical Enterprise React: Become an Effective React Developer in Your Team now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.