Welcome to the Employee Form Application! This repository contains a web application where users can fill out an employee form and view the submitted data on the frontend. The application is built using HTML, CSS, and JavaScript, React.js, Node.js with a simple backend server to handle form submissions.
Table of Contents Getting Started Prerequisites Installation Usage File Structure
Getting Started These instructions will help you set up the project on your local machine for development and testing purposes.
Prerequisites To run this application, you'll need to have the following installed on your machine: Node.js npm (Node Package Manager)
Usage Open your web browser and navigate to the location of index.html. Fill out the employee form with the required information. Submit the form to see the data displayed on the frontend. The submitted data will be processed by the backend server and then displayed on the same page.
File Structure The project directory structure is as follows:
Copy code employee-form-app/ ├── backend/ │ ├── server.js │ └── data.json ├── frontend/ │ ├── index.html │ ├── styles.css │ └── script.js ├── .gitignore ├── package.json └── README.md
backend/server.js: The Node.js server file handling form submissions and serving data. backend/data.json: A file storing submitted form data. frontend/index.html: The HTML file containing the form. frontend/styles.css: The CSS file for styling the form and the displayed data. frontend/script.js: The JavaScript file for form handling and communication with the backend.