- Introduction
- Features
- Technologies Used
- Installation
- Configuration
- Running the Application
- Project Structure
- Available Scripts
- Contributing
- License
The HRMS Project Frontend is the client-side application of the Human Resource Management System. Built with React.js and styled using Tailwind CSS, it offers a responsive and intuitive interface for users to manage employee data, apply for leaves, generate reports, and perform other HR-related tasks seamlessly.
- User Authentication: Secure login and registration with role-based access.
- Dashboard: Overview of HR metrics and quick access to various modules.
- Employee Management: View and manage employee profiles and details.
- Leave Management: Submit leave applications and track their status.
- Reporting: Generate and view comprehensive reports on employees and leaves.
- Interactive UI: Responsive design ensuring compatibility across devices.
- React.js: For building the user interface.
- Tailwind CSS: Utility-first CSS framework for styling.
- Axios: For making HTTP requests to the backend API.
- React Router DOM: For client-side routing.
- Material-UI & DaisyUI: For additional UI components and styling.
- React Icons: For incorporating icons into the UI.
- Clone the Repository:
git clone https://github.com/devinda0/HRMS-Project-Frontend.git
- Navigate to the Project Directory:
cd HRMS-Project-Frontend
- Install Dependencies:
npm install
-
Environment Variables:
Create a
.env
file in the root directory and add the following:REACT_APP_API_URL=http://localhost:8080
This sets the base URL for API requests. Ensure that the backend server is running at this address.
npm start
The application will run in development mode on http://localhost:3000
.
To create a production build, run:
npm run build
This will generate optimized static files in the build
directory.
HRMS-Project-Frontend/ ├── public/ │ ├── index.html │ ├── manifest.json │ └── robots.txt ├── src/ │ ├── Components/ │ │ ├── ContactAdmin/ │ │ ├── HRMGuide/ │ │ ├── LeaveBalance/ │ │ ├── PendingLeave/ │ │ ├── ReportProblem/ │ │ ├── ReportTable/ │ │ └── ApprovedLeave/ │ ├── pages/ │ │ ├── AbsentManagement/ │ │ ├── Reports/ │ │ ├── home/ │ │ └── Leave/ │ ├── context/ │ │ └── AuthContext.js │ ├── routes/ │ │ └── AppRoutes.js │ ├── App.jsx │ ├── index.css │ ├── App.css │ └── tailwind.config.js ├── package.json ├── .gitignore └── README.md
In the project directory, you can run:
Runs the app in development mode.
Open http://localhost:3000 to view it in your browser.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Note: this is a one-way operation. Once you eject
, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Contributions are welcome! Please fork the repository and create a pull request with your changes.