项目作者: Justintime50

项目描述 :
Create shipping labels, track, insure, and refund packages all from a simple UI.
高级语言: PHP
项目地址: git://github.com/Justintime50/easypost-ui.git
创建时间: 2019-12-03T20:32:38Z
项目社区:https://github.com/Justintime50/easypost-ui

开源协议:MIT License

下载




# EasyPost Tools UI

Create shipping labels, track, insure, and refund packages all from a simple UI.

Build Status
Coverage Status
Version
Licence

Showcase

What Can it Do?

The EasyPost Tools UI is a proof of concept on how to build a complete shipping solution using the EasyPost API.

  • Create & retrieve shipments
    • Buy and print labels
    • Buy and print envelope stamps
    • Refund shipments
    • Generate QR codes
  • Create and retrieve trackers
  • Create and retrieve insurance
  • Create and retrieve addresses
  • Create and retrieve parcels
  • Search for EasyPost objects by ID
  • Support multiple users with unique logins and EasyPost API keys

See the accompanying EasyPost Tools repo for additional tooling not available via the UI.

How it Works

The EasyPost API allows you to create shipping labels with some of the biggest parcel carriers in the world. Supply a from_address, to_address, parcel, and preferred shipping rate/method. Print the label, slap it on your package, and drop it off at your carrier’s location. That’s it!

Install

  1. # Copy the env files, edit as needed
  2. cp src/.env-example src/.env && cp .env-example .env
  3. # Run the setup script which will bootstrap all the requirements, spin up the service, and migrate the database
  4. just setup

Usage

Navigate to easyposttools.localhost.

Once the project is setup, simply interact with the various links in the app to interact with the API. Create records, retrieve them, and purchase shipping labels all without needing to do the hard work of integrating with an API.

EasyPost API: You’ll need a test or production API key from EasyPost’s website. Create an account and grab the API key you’d like to use. If using your production API key, make sure to setup billing info on your EasyPost account.

Deploy

  1. # Deploy the project locally
  2. just run
  3. # Deploy the project in production
  4. just prod

Development

  1. # Get a comprehensive list of development tools
  2. just --list