Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dsha256/packer-pro
- Owner: dsha256
- Created: 2023-12-21T17:33:09.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T19:36:28.000Z (about 1 month ago)
- Last Synced: 2024-09-27T20:21:15.558Z (about 1 month ago)
- Topics: atlas, encore, encoredev, makefile, postgresql, redis, redis-cluster
- Language: Go
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.MD
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.