Here in this simple project we have created an system for the user to authenticate and saved his token in localStorage which can be used for further requests
A lot of React Concepts are touched in this simple project.
- Context
- Routing
- Different Layouts for Authenticated and unAuthenticatd users.
- Protecting Routes.
- Using context to store token and user info which can be used in entire application without any prop hell.