How yousafkhan1/employee-management-system-in-react-node-mysql works
Project type and purpose
• This is a full-stack Employee Management System built with React (front-end), Node.js + Express (back-end), and MySQL (database).
• Users can log in, view and edit employee records, add categories, and manage profiles.
File structure
• Top-level directories:
• ReactFrontEnd – standalone React components and entry point (main.jsx, App.jsx).
• ServerSide – Express server (server.js) serving REST endpoints.
• “Updated Employee MS with React + Node + MySQL” – the current, integrated project:
◦ Front-End Folder – Vite/React code (src, public, vite.config.js).
◦ Server Side – Express code (index.js, Routes, utils/db.js, Public assets).
• Patterns:
• React Router for client-side routing (Start.jsx, PrivateRoute.jsx).
• Express routes separated by AdminRoute.js and EmployeeRoute.js.
• DB utility (utils/db.js) for connection pooling.
README for additional insights
• Confirms two versions exist; the “Updated” folder is the active codebase.