This guide outlines the necessary steps to set up and run the project successfully.
-
Navigate to the Frontend Directory:
- Locate the frontend directory within the code folder.
-
Install Dependencies:
- Run the command
npm i
to install all the necessary dependencies.
- Run the command
-
Start the Application:
- Execute
npm start
to initiate the project.
- Execute
Note: After authentication, upon the user's initial entry into the employee dashboard, it's advisable to refresh the page once to ensure proper role assignment. Subsequent visits will dynamically adjust the dashboard according to the assigned role.
-
Raise Complaints:
- Submit complaints regarding any issues encountered.
-
Check Complaint Status:
- Monitor the current status of submitted complaints.
-
Communicate with Mediator:
- Send messages to the mediator regarding specific complaints identified by their complaint ID.
-
Manage Complaints:
- Update the status of complaints as necessary.
-
Communicate with Victims:
- Engage in communication with victims in a similar manner as with employees.
-
Raise Complaints:
- Initiate new complaints as required.
-
Check Complaint Status:
- Monitor the status of complaints.
-
Assign Mediators:
- Assign mediators to specific complaints for resolution.
-
Manage User Roles:
- Modify user roles as needed.
-
Real-Time Notifications:
- Receive notifications for new complaint submissions, status changes, and mediator assignments.
-
Sentiment Analysis:
- Classify complaint sentiment into categories: "low", "medium", "high", and "very high".
-
Suggested Solutions:
- Utilize the Gemini API to generate suggested solutions for complaints before resolution.
-
Top 5 Recent Complaints:
- View a dynamic table displaying the top 5 recently raised complaints on each dashboard's homepage.
-
User Logout Option:
- Easily log out from the system via the provided "logout" option in the dashboard sidebar.
Note: All this can be tested as every option is provided on the Sidebar only according to the role of the user being logged in.