/login-logout-web-app

simple login-logout web app

Primary LanguageJavaScript

Login-Logout Web App

This project is a simple React web application that demonstrates a basic login and logout functionality. Users can log in with a username and password, view a welcome page upon successful login, and log out to return to the login page.

Features

  • Login Page: Users can enter a username and password to log in.
  • Successful Login: Upon successful login, users are redirected to a welcome page.
  • Unsuccessful Login: If the username or password is incorrect, users are redirected to an error page.
  • Logout: Users can log out from the welcome page to return to the login page.

Installation

  1. Clone the repository:

    git clone https://github.com/movi1/login-logout-web-app.git
    

    Navigate to the project directory:

    cd login-logout-web-app
    
  2. Install dependencies:

    npm install
    
  3. Start the development server:

    npm start
    
  4. Open your browser and navigate to http://localhost:3000 to view the app.

Screenshots

Login page

Log in

Log out page

Log out

Login failed page

Login failed

video Demo

![Watch the video]

Click the image above to watch a video demonstration of the Login-Logout Web App.