Gridlock Authentication System ============================== .. note:: Gridlock is an authentication system built for React applications. This documentation will guide you through installation, usage, and API reference. Contents -------- .. toctree:: :maxdepth: 2 :caption: Sections getting_started installation usage api_reference troubleshooting Getting Started --------------- Gridlock provides a simple and secure way to manage authentication in your React apps. - Easy integration with React hooks and components - JWT-based authentication - Supports login, signup, and logout flows - Customizable UI components Quick Example ------------- .. code-block:: javascript import { useGridlock } from 'gridlock-auth'; const { login, logout, user } = useGridlock(); // Login example login('email@example.com', 'password123') .then(response => console.log('User logged in:', response)) .catch(err => console.error('Login failed:', err)); Links ----- - `GitHub Repository `_ - `Read the Docs `_