Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dsha256/packer


https://github.com/dsha256/packer

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# Packer Service API 🚀

---

# 🤷‍♀️ What does the API do?
### Imagine for a moment that one of your product lines ships in various pack sizes:
• 250 Items
• 500 Items
• 1000 Items
• 2000 Items
• 5000 Items

### Your customers can order any number of these items through your website, but they will always only be given complete packs.
1. Only whole packs can be sent. Packs cannot be broken open.
2. Within the constraints of Rule 1 above, send out no more items than necessary to
fulfil the order.
3. Within the constraints of Rules 1 & 2 above, send out as few packs as possible to
fulfil each order.

#### `So, the API can calculate the number of packs we need to ship to the customer.`

---

# 👀 Run locally
### Navigate to the root folder of the project and run
```shell
docker compose up
```
### Then you get the API running on your local machine on port 8080:
* #### API - http://127.0.0.1:8080

---

# 🔥 Want to give it a shot?
### Please go to the docs page where you can test the functionality out in real time.

Theneo