BeTalent Dashboard is a web application developed to visualize a list of employees in a structured and responsive way. The application provides a search feature and an optimized mobile layout, ensuring a good user experience across different devices.
- Search Employees: Allows users to filter employees based on their names.
- Employee List: Displays a complete list of employees in a structured table.
- Responsive Design: Adapts the layout for both desktop and mobile devices.
- Frontend: React, TypeScript, SCSS, Axios
- Backend: json-server for simulating an API
-
Clone the repository:
git clone https://github.com/your-username/betalent-dashboard.git
-
Navigate to the project directory:
cd betalent-dashboard
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open the application in your browser at
http://localhost:3000
. - Search for employees using the search bar.
- View the list of employees in both desktop and mobile layouts.
-
The project uses json-server to mock the API for employee data.
-
Install json-server globally if you haven't already:
npm install -g json-server
- Start the mock API:
json-server --watch db.json --port 5000
- Fetch Employees:
GET /employees
- Search Employees:
GET /employees?q={name}