- Responsive Design: Fully responsive UI that works across all devices
- Modular Components: Clean, reusable component architecture
- Form Validation: Built-in form validation and error handling
- Search Functionality: Real-time search through employee records
- Modern UI: Clean, professional interface with smooth animations
- Accessibility: WCAG compliant with proper focus management
- Navigation tabs for Employee Master and Employee Creation
- Back navigation button
- Sub-navigation for different sections (Employee Details, Address, Skill Set)
- Comprehensive employee information form
- Personal details section
- Privacy policy acknowledgment
- Form validation and submission handling
- Searchable employee records table
- Action buttons for filtering, adding, downloading, and uploading
- Edit and delete functionality for individual records
- Responsive table with horizontal scrolling on mobile
- Reusable form field component
- Supports text inputs, select dropdowns, and other input types
- Consistent styling and validation
- Framework: Next.js 15
- UI Library: React 19
- Styling: Tailwind CSS 4
- Font: Geist Sans (Google Fonts)
-
Install Dependencies:
npm install
-
Run Development Server:
npm run dev
-
Open Application: Navigate to http://localhost:3000
src/
├── app/
│ ├── globals.css # Global styles and Tailwind imports
│ ├── layout.js # Root layout component
│ └── page.js # Main page component
└── components/
│ ├── Header.js # Navigation and header component
│ ├── EmployeeForm.js # Employee creation form
│ ├── EmployeeTable.js # Employee records table
│ └── FormField.js # Reusable form field component
└── _home/
│
│
The application is fully responsive with breakpoints:
- Mobile: < 768px
- Tablet: 768px - 1024px
- Desktop: > 1024px
- Employee ID (auto-generated)
- Employee Type
- First Name
- Last Name
- Middle Name
- Mobile Phone
- Home Phone
- Personal Email
- Physically Handicapped
npm run dev
- Start development servernpm run build
- Build for productionnpm run start
- Start production servernpm run lint
- Run ESLint
- Follows React best practices
- Uses functional components with hooks
- Consistent naming conventions
- Proper TypeScript-like prop validation
- Address and Skill Set tabs implementation
- Data persistence with backend API
- Advanced filtering and sorting
- Bulk operations
- Export to PDF/Excel
- User authentication
- Role-based access control
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.