Welcome to the Login_Handler repository! This is a React-based web application designed to simplify the user login process by ensuring that a user is not prompted to log in repeatedly. Once a user logs in, they will remain logged in until they decide to log out.
- Persistent User Login: After the initial login, users will not be prompted to sign in again until they manually log out.
- React Hooks: Utilizes the
useEffect()anduseState()hooks for optimal component lifecycle and state management. - Fragments & Portals: Integrated use of React fragments and portals for more flexible and efficient DOM rendering.
- Direct DOM Manipulation: Utilizes the
useRef()hook in combination withreact-domfor specific rendering tasks. - CSS Modules: Styles are encapsulated using CSS modules, ensuring that styling is specific to components and avoids global conflicts.
- Node.js
- npm or yarn
-
Clone the repository:
git clone https://github.com/rimshaRasheed/Login_Handler.git -
Change to the project directory:
cd Login_Handler -
Install dependencies:
npm install -
Run the application:
npm start
The application will open in your default browser at http://localhost:3000.
- Sign Up: If you're a new user, sign up with your desired credentials.
- Login: Use your credentials to log in. Upon successful login, the application will remember your session.
- Logout: If you wish to end your session, you can manually log out. Upon doing so, you'll be required to log in again the next time.
Contributions are welcome! Please read the contributing guidelines before getting started.
This project is licensed under the MIT License. See the LICENSE file for details.