React boilerplate for JWT authentication with refresh tokens and tests
A React boilerplate implementing JWT access-token and refresh-token flows for single-page applications. It provides protected, public, and hybrid route components, role-based permissions, sample admin/client credentials, and a test setup with Jest and React Testing Library. Built with TypeScript, JavaScript, and basic HTML for apps that need client-side authentication and route protection.
0