A React application built with Vite, featuring authentication, dashboard, and various pages using Material-UI.
-
Clone the repository:
git clone <repository-url> cd frontend -
Install dependencies:
npm installThis will install the following packages:
- Dependencies:
- @emotion/react: ^11.11.0
- @emotion/styled: ^11.11.0
- @mui/icons-material: ^5.15.0
- @mui/material: ^5.15.0
- axios: ^1.6.0
- js-cookie: ^3.0.5
- lucide-react: ^0.544.0
- react: ^19.1.1
- react-dom: ^19.1.1
- react-router-dom: ^6.20.0
- DevDependencies:
- @eslint/js: ^9.35.0
- @types/react: ^19.1.13
- @types/react-dom: ^19.1.9
- @vitejs/plugin-react: ^5.0.2
- eslint: ^9.35.0
- eslint-plugin-react-hooks: ^5.2.0
- eslint-plugin-react-refresh: ^0.4.20
- globals: ^16.4.0
- vite: ^7.1.6
- Dependencies:
To start the development server:
npm run dev
The application will be available at http://localhost:5173 (or the port specified by Vite).
To build the application for production:
npm run build
To preview the production build:
npm run preview
To run ESLint:
npm run lint
- React 19
- Vite
- Material-UI (MUI)
- React Router DOM
- Axios for API calls
- JS-Cookie for cookie management
- Lucide React for icons