This is a web application that simulates a Login page, allowing users to enter their credentials & interact with the form.
The user input is validated on the client side in real time, providing dynamic feedback about input field error states to the user.
- Next.js 13: A React framework for building server-side rendered (SSR) fullstack web applications.
- React Hook Form: A lightweight library in React that simplifies form validation and management using hooks, reducing re-renders and providing a customizable and efficient approach to handling form state.
- Tailwind CSS: Tailwind CSS is a utility-first CSS framework that allows for rapid development by providing a customizable set of pre-defined classes for building responsive and flexible user interfaces.
- Download the project source code by clicking the following link: Download Project
- Extract the downloaded zip file to a directory of your choice.
- Open a terminal or command prompt and navigate to the extracted directory.
- Install the dependencies by running the following command:
npm install
- Start the development server using the following command:
npm start
- Open http://localhost:3000 in your web browser to view the application.
Build the Docker image and run the container with the following commands:
docker build -t login-app .
docker run -d -p 3000:3000 login-app
After running these commands, you can access the application by opening http://localhost:3000 in your web browser.
Make sure you have Docker installed and running on your machine before using the Docker commands.