This project is a web application for managing employees, built using Next.js for the frontend and Prisma with MySQL for the backend database. It allows users to perform CRUD operations on employee data and their associated positions, tool languages, and images.
- View Employees: Browse through a list of employees with infinite scroll.
- Search Employees: Search employees by name.
- Create Employee: Add a new employee with their positions, tool languages, and images.
- Update Employee: Modify employee details, including positions and associated data.
- Delete Employee: Remove an employee and associated data from the database.
- Responsive Design: Optimized for desktop and mobile devices.
-
Frontend:
- Next.js: React framework for server-side rendering and API routes.
- React Hook Form: For form handling and validation.
- Redux Toolkit: State management for React applications.
- Tailwind CSS: Utility-first CSS framework for styling.
- Cloudinary: For upload image hosting
-
Backend:
- Prisma: ORM for database interactions.
- MySQL: Relational database management system.
-
Deployment:
- Vercel: Platform for deploying frontend and serverless functions.
To run this project locally:
- Clone the repository:
git clone <repository-url> cd employee-management