This repository provides a minimal interface for an object detection task using React.
.gitignore
eslint.config.js
index.html
package.json
public/
logo.png
README.md
src/
App.css
App.jsx
assets/
react.svg
index.css
LeftPanel.jsx
main.jsx
RightPanel.jsx
vite.config.js
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Clone the repository:
git clone https://github.com/yourusername/lacmus-react.git cd lacmus-react
-
Install the dependencies:
npm install
To start the development server, run:
npm run dev
This will start the Vite development server and you can view the application at http://localhost:3000
.
To build the application for production, run:
npm run build
The built files will be output to the dist
directory.
To lint the code using ESLint, run:
npm run lint
- App.jsx: The main component that holds the layout of the application.
- LeftPanel.jsx: Component for the left panel which allows users to upload and preview images.
- RightPanel.jsx: Component for the right panel which displays the image and prediction results.
- eslint.config.js: Configuration for ESLint.
- vite.config.js: Configuration for Vite.
- App.css: Contains the main styles for the application.
- index.css: Additional global styles.
- public/logo.png: The favicon for the application.
- src/assets/react.svg: An example SVG asset.
This project is licensed under the MIT License.