A modern React application built with Vite.
- Node.js (version 16 or higher)
- npm or yarn
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
Start the development server:
npm run devThe application will be available at http://localhost:3000
Build the application for production:
npm run buildThe built files will be in the dist directory.
Preview the production build locally:
npm run previewRun ESLint to check for code quality issues:
npm run lintFix linting issues automatically:
npm run lint:fixfrontend/
├── public/ # Static assets
├── src/
│ ├── components/ # React components
│ ├── App.jsx # Main App component
│ ├── main.jsx # Application entry point
│ └── index.css # Global styles
├── index.html # HTML template
├── package.json # Dependencies and scripts
├── vite.config.js # Vite configuration
└── .eslintrc.cjs # ESLint configuration
- React 18 - UI library
- Vite - Build tool and development server
- ESLint - Code linting
- CSS3 - Styling
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run lint:fix- Fix ESLint issues