How shivankk26/employee-management-system works
Project type and purpose
• This is a full-stack MERN (MongoDB, Express.js, React.js, Node.js) web application called “Employee Management System.”
• Its primary purpose is to allow users to perform CRUD operations (Create, Read, Update, Delete) on employee records via a web UI.
File structure
• Top-level directories:
• client/ – React front-end (Vite, JSX, Tailwind CSS)
• server/ – Node/Express back-end (REST routes, Mongoose models, MongoDB connection)
• client/src/components and client/src/pages contain the UI components and views (Dashboard, Home, modals).
• server/routes implements one file per endpoint (getEmployees, createEmployee, updateEmployee, deleteEmployee, searchEmployee).
• server/models/Employees.js defines the Mongoose schema.
• server/db/index.js handles MongoDB connection.
• server/utils/constants.js holds any shared constants.
README for additional insights
• Confirms MERN stack, CRUD feature set, and local development commands.