Dwinzo_dev/app
Jerald-Golden-B 882c81a385 Refactor asset model handling and event data management
- Removed redundant data structure in handleModelLoad function.
- Introduced eventData object to encapsulate event-related information for different asset types (Conveyor, Vehicle, ArmBot, StaticMachine).
- Updated socket emission to include complete data with eventData.
- Enhanced copy-paste and duplication controls to maintain eventData integrity during object duplication.
- Integrated event data updates in move and rotate controls to reflect changes in the simulation state.
- Improved PointsCreator component to handle rotation for event groups.
- Updated handleAddEventToProduct function to support event data management.
- Enhanced product management to fetch existing products from the server and handle new product creation.
- Added new types for eventData in worldTypes and simulationTypes for better type safety.
- Refactored IndexedDB utility functions for cleaner code.
2025-04-29 19:15:17 +05:30
..
.github first commit 2025-03-25 11:47:41 +05:30
.husky upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
docs docs: Update project structure documentation for clarity and guidelines 2025-04-10 17:02:36 +05:30
public Refactor styles for improved theme management, enhance input components, and add scene styles 2025-03-31 18:06:44 +05:30
scripts first commit 2025-03-25 11:47:41 +05:30
src Refactor asset model handling and event data management 2025-04-29 19:15:17 +05:30
.env updated ip 2025-04-15 18:06:31 +05:30
.gitignore Update styles, add marketplace components, and enhance drag-and-drop functionality 2025-03-27 15:14:29 +05:30
Dockerfile upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
README.md upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
nginx.conf upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
package-lock.json added arm ui 2025-04-28 12:26:31 +05:30
package.json feat: Add immer for state management and define simulation store with event schemas 2025-04-17 18:22:27 +05:30
tsconfig.json first commit 2025-03-25 11:47:41 +05:30

README.md

Getting Started

Follow these steps to set up and run the project locally.

Prerequisites

Ensure you have the following installed on your system:

Installation

  1. Clone the repository:

    git clone https://github.com/S0Vishnu/react-production-project-boilerplate.git
    cd react-production-project-boilerplate
    
  2. Cloning repository with User Credentials:

    git clone https://your_username:password@github.com/S0Vishnu/react-production-project-boilerplate.git
    cd react-production-project-boilerplate
    

    note: if password contains special charecters use:

    • @ → %40
    • : → %3A
    • / → %2F
    • ? → %3F
    • & → %26
    • = → %3D
    • ! → %21
  3. Install the dependencies:

    npm install
    
  4. Start server:

    npm start
    
  5. Build the app for production:

    npm run build
    
  6. Tests

    This project includes both unit tests using Jest and end-to-end (E2E) tests using Cypress. Heres how you can run and manage these tests.

    Unit Tests (Jest) Unit tests are located in the src/tests/unit/ directory. They test individual components and functions to ensure they work as expected. Jest is used for running these tests.

    Running Unit Tests To run the unit tests, use the following command:

    npm run test
    

    End-to-End (E2E) Tests (Cypress) Cypress can be run in two modes

    1. Interactive Mode:

      npm run cypress:open
      
    2. Headless Mode:

      npm run cypress:run
      

Run Documentation(Docsify)

  1. Installation (if needed):

    npm i docsify-cli -g
    
  2. Run Command:

    docsify serve docs