BoxedIn is a smart, AI-powered app that optimally distributes cargo within defined loading spaces. Using the GPT-4o API, it analyzes both the space and cargo dimensions to place items in the most efficient arrangement, making it ideal for logistics, warehousing, and transport planning.
- React + TypeScript for a responsive and type-safe user interface
- Vite for fast, efficient building and development
- Vitest as the test runner for comprehensive test coverage
- GPT-4o API for intelligent load distribution
- Three.js for 3D visualization of optimally arranged cargo
- Define Loading Space Dimensions: Set the width, height, and depth of your space.
- Define Cargo Dimensions: Set length, height, and width for each cargo item.
- Add Cargo: Add individual cargo items with unique specifications.
- Increase/Decrease Cargo Count: Adjust the quantity of specific cargo items.
- Delete Cargo: Remove unwanted cargo items from the list.
- Rename Cargo: Customize cargo names for easy identification.
- Optimize Load Distribution: Automatically perform optimal cargo arrangement in the given space using the GPT-4o API.
To run BoxedIn locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/your-username/BoxedIn.git cd BoxedIn -
Install Dependencies: Use either npm or yarn:
npm install
or
yarn install
-
Run the Development Server:
npm run dev
or
yarn dev
Open the local server URL provided in the terminal to view the app.
-
Build for Production:
npm run build
or
yarn build
-
Preview the Production Build:
npm run preview
or
yarn preview
-
Run Tests:
npm run testor
yarn test
π Note:
To use the GPT-4o API, add an.envfile in the root directory with your OpenAI API key:VITE_OPENAI_API_KEY=your_openai_api_key
