2024-07-02 15:59:51 +02:00
|
|
|
# PliWould - Measure And Price Sheet Good Merchandise
|
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
![PlyWould's ugly logo](./assets/images/pli-would-512.png)
|
|
|
|
|
2024-07-02 15:59:51 +02:00
|
|
|
Working behind the register at Habitat for Humanity ReStore I found sheet goods often came in partials.
|
|
|
|
|
|
|
|
As a cashier, I would often have to determine the correct price for merchandise based on the area or length
|
|
|
|
of products.
|
|
|
|
|
|
|
|
Not being skilled in math, I found this process extremely stressful and would often get stuck and call over
|
|
|
|
a manager to assist. Instead, I took it upon myself to find a solution.
|
|
|
|
|
|
|
|
Hence, I created PliWould, an app that determines the cost of a product based on its dimensions.
|
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
By default my store's prices are in the database.
|
|
|
|
However, the prices are editable and you can add or remove
|
2024-07-02 15:59:51 +02:00
|
|
|
products as needed.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
![App Overview](./doc/images/screenshots/index.png)
|
2024-07-02 15:59:51 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
### ![Scale Tab](./doc/images/icons/scale.png) Measure Tab
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
This tab is used to determine the price based on measurements.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Select a product from a list of products.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
![Plywood sheet selected](./doc/images/screenshots/plywood-sheet-4-by-8-inches.png)
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
There are 2 different types of products:
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
1. Length prodcuts
|
|
|
|
2. Area products.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Typically length products have a Square button that measures per length,
|
|
|
|
but some do not, so I included them.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Area products on the Square console are "partials," so they are listed in the product list.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Select one you wish to price.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Automatically the measurements for the "base measurement" will be filled in.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Using a tape measure, measure the sheet's length and width. You can either put in
|
|
|
|
inches or feet (switch using the `in`/`ft` button selector).
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
If the product is damaged, use the slider to select the amount of damage
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
![Plywood sheet selected, with 25% damage](./doc/images/screenshots/plywood-sheet-4-by-8-feet-25-damage.png)
|
|
|
|
|
|
|
|
If you select a length product, only the length field will be present. Proceed as you
|
|
|
|
would with area products.
|
|
|
|
|
|
|
|
![Length product selected](./doc/images/screenshots/house-siding-length-input-feet.png)
|
|
|
|
|
|
|
|
### ![Product Editor Tab](./doc/images/icons/list.png) Product Editor (WIP)
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
In the product editor, you can add or remove products as needed.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
You can even edit or add attributes.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Note that the `name` attribute is highly recommended as it's the name of the product.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
Otherwise, it will display as `Product <UUID>`.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
# Development Docs
|
|
|
|
|
|
|
|
This is an [Expo](https://expo.dev) project.
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
The `develop` branch is used to develop features until it's ready to be merged
|
|
|
|
into main.
|
|
|
|
|
|
|
|
## Get started
|
2024-06-26 04:20:08 +02:00
|
|
|
|
2024-07-06 00:00:08 +02:00
|
|
|
1. Clone the repository.
|
|
|
|
|
|
|
|
```
|
|
|
|
$ git clone https://gittea.dev/srcrr/PliWould
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Install eas-cli **globally**
|
|
|
|
|
|
|
|
```
|
|
|
|
$ npm i -g eas-cli
|
|
|
|
```
|
|
|
|
|
|
|
|
1. Install dependencies
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pnpm install
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Start the app
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pnpx expo start
|
|
|
|
```
|