This project is a simple React application that demonstrates a registration form with client-side validation and server-side integration.
- React-based user interface
- Form validation using react-hook-form
- Integration with a Node.js/Express backend
- Responsive design using CSS
- Node.js (v14 or later)
- npm (v6 or later)
-
Clone the repository:
git clone https://github.com/[username]/react-registration-form.git
Replace
[username]
with the actual GitHub username or organization name where the repository is hosted. -
Navigate to the project directory:
cd react-registration-form
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and visit
http://localhost:5173
to view the application.
-
Navigate to the server directory:
cd server
-
Install server dependencies:
npm install
-
Start the server:
node server.js
The server will run on http://localhost:3001
.
- React
- Vite
- react-hook-form
- Express.js
- CSS
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.