This project contains a simple user form with two pages: one for new users to sign up and another for existing users to sign in. The goal is to provide a clean and user-friendly interface for basic user authentication.
Check our Demo
Demo |
---|
This page allows new users to create an account by filling out a registration form.
- Full Name
- Email Address
- Password
- Validation for required fields (e.g., valid email format, password strength).
- Password confirmation check (ensures the password matches the confirm password).
- A "Sign Up" button to submit the form.
- Link to the Sign In page (e.g., "Already have an account? Sign In").
This page allows registered users to log in to their accounts.
- Email Address
- Password
- Validation for required fields.
- A "Sign In" button to submit the form.
- Link to the Sign Up page (e.g., "Don’t have an account? Sign Up").
- Option to reset the password (e.g., "Forgot Password?").
- Validation Feedback: Provides visual feedback for form validation errors (e.g., highlighting invalid fields).4
Follow these steps to get the project running on your local machine.
Before you begin, ensure that the following software is installed on your system:
- Node.js (If not installed, download and install it from the official website.)
-
Clone the repository or download the project folder to your local machine.
-
Open the Project in Visual Studio Code
- Open Visual Studio Code.
- Navigate to File > Open Folder and choose the project directory:
your-project-name
.
-
Open the Terminal
- In Visual Studio Code, open the integrated terminal by selecting Terminal > New Terminal.
- Make sure the terminal is opened inside the project directory. If not, change the directory to the project folder using:
cd your-project-name
-
Install Project Dependencies
- Run the following command in the terminal to install the required dependencies:
npm install
- Run the following command in the terminal to install the required dependencies:
-
Install JSON Server Globally
- Install JSON Server globally on your machine with the following command:
npm install -g json-server@0.17.4
- Install JSON Server globally on your machine with the following command:
-
Run JSON Server
- To start the JSON server and watch changes in
db.json
, run:json-server --watch db.json
- To start the JSON server and watch changes in
-
Run the Project
- After setting up everything, you can start the development server using:
npm run dev
- After setting up everything, you can start the development server using:
This will start the project in development mode.
- Html
- CSS
- JavaScript
- React
- Tailwind
- axios
- json Server