This is a React application that I have developed as part of an assignment for a company. It demonstrates a basic user registration and authentication system using React's useState
hook and local storage. The purpose of this assignment is to showcase my skills in web development and React.
-
User Registration: Users can enter their name and password in the registration form and click the "GO" button to register.
-
User Login: After registration, users can log in by entering their credentials.
-
Local Storage: User data is stored in the browser's local storage as
token-info
when registered. This data is used to determine whether a user is logged in or not. -
Log Out: Users can log out, which removes their data from local storage and logs them out.
-
Clone the Repository: Clone this repository to your local machine.
git clone https://github.com/KrupalVaishnav79/Registration-Form
-
Install Dependencies: Install the necessary dependencies using npm or yarn:
npm install
-
Start the Development Server: Start the development server:
npm start
-
Access the Application:
-
Local Development: Open your web browser and access the application at
http://localhost:3000
. -
Live Version: You can also access the live version of this project here.
If you would like to contribute to this project or provide feedback, please feel free to fork the repository, make changes, and submit a pull request. Your contributions and suggestions are welcome!
I am a passionate web developer and I created this project as an assignment for a potential employer. If you have any questions or would like to get in touch with me, you can reach me at [email protected].