This project is a compliance dashboard showcasing various compliance metrics, such as compliance scores, risk assessments, audit history, and upcoming deadlines. The project is built using React, TypeScript, Tailwind CSS for the front end, and Node.js with Express for the backend.
- Interactive dashboard with tooltips, bar charts, and pie charts.
- Compliance history and score trends presented in a user-friendly way.
- Responsive design for both large and small screens.
- Simple backend API providing mock compliance data.
- Frontend: React, TypeScript, Tailwind CSS, Recharts
- Backend: Node.js, Express
- Node.js and npm installed on your machine.
git clone https://github.com/krish4uu/compliance-dashboard.git
cd compliance-dashboardNavigate to the client folder and install dependencies:
cd client
npm installNavigate to the server folder and install dependencies:
cd server
npm installIn the server folder, start the backend server:
npm run serverThis will start the server on http://localhost:5000/api/compliance-metrics.
In a new terminal window, navigate to the client folder and start the React development server:
npm startThe frontend should now be running at http://localhost:3000.
- GET /api/compliance-metrics: Returns compliance metrics data for the dashboard.