Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dsha256/packer-pro

Packer API
https://github.com/dsha256/packer-pro

atlas encore encoredev makefile postgresql redis redis-cluster

Last synced: 28 days ago
JSON representation

Packer API

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
### Install Encore(https://encore.dev/docs/install), navigate to the root folder of the project and run
```shell
encore run
```
### Then you get two endpoints:
* #### API - http://127.0.0.1:4000
* #### Development Dashboard http://localhost:9400/packer-pro-da22

---
# 🌩ī¸ Run on the cloud (AWS/GCP)
### You just need to creat Encore app, connect it to your cloud account and deploy the app in few straightforward clicks: https://encore.dev/docs/deploy/deploying

---

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

Theneo