Skip to content

dejaeghered/purplship-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purplship

The Open Source Multi-carrier Shipping API

CI License: AGPL v3

What's purplship server?

purplship server is a headless shipping platform for innovators who want to regain control over their logistics processes and fulfilment automation. The server is in Python, but you can use any programming language to send API requests to our growing network of shipping carriers from your app.

purplship makes shipping services simple and accessible. Help us out… If you love Open standard and great software, give us a star! 🌟

Features

  • Headless shipping API: Power up your application with access to a network of carrier services
  • Multi-carrier: Integrate purplship once and connect to multiple shipping carrier APIs
  • Shipping: Connect carrier accounts, get live rates and purchase shipping labels
  • Tracking: Create package tracker, get real time tracking status and provide a branded tracking page
  • Address Validation: Validate shipping addresses using the Google Geocoding API
  • Shipping Web App: Use a single dashboard to orchestrate your logistics operation.
  • Cloud: Optimized for deployments using Docker

Deployment

Docker

check the latest version tags of the purplship/purplship-server image on Docker Hub

Use our image
  • Start a Postgres database
docker run -d \
  --name db --rm \
  -e POSTGRES_DB=db \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_PASSWORD=postgres \
  postgres
  • Run your shipping API
docker run -d \
  --name pship --rm \
  -e DEBUG_MODE=True \
  -e ADMIN_EMAIL=admin@example.com \
  -e ADMIN_PASSWORD=demo \
  --link=db:db -p 5002:5002 \
  danh91.docker.scarf.sh/purplship/purplship-server:2021.7
Or use docker-compose
  • Create a docker-compose.yml file
version: '3'

services:
  db:
    image: postgres
    restart: unless-stopped
    volumes:
      - pshipdb:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: "db"
      POSTGRES_USER: "postgres"
      POSTGRES_PASSWORD: "postgres"
    networks:
      - db_network

  pship:
    image: danh91.docker.scarf.sh/purplship/purplship-server:2021.7
    restart: unless-stopped
    environment:
      - DEBUG_MODE=True
      - ALLOWED_HOSTS=*
      - ADMIN_EMAIL=admin@example.com
      - ADMIN_PASSWORD=demo
      - DATABASE_NAME=db
      - DATABASE_HOST=db
      - DATABASE_PORT=5432
      - DATABASE_USERNAME=postgres
      - DATABASE_PASSWORD=postgres
    depends_on:
      - db
    networks:
      - db_network

volumes:
  pshipdb:
    driver: local

networks:
  db_network:
    driver: bridge
  • Run the application
docker-compose up

Access the application at http://0.0.0.0:5002

Default Login

email Password
admin@example.com demo

Heroku

Host your own purplship server for FREE with One-Click Deploy.

Deploy

Editions

purplship is available in two editions - OSS and Enterprise.

The Open Source Edition is under the Apache 2 License.

To get the quotation of our Enterprise Edition, please visit purplship.com and contact us.

OSS Enterprise
Multi-carrier shipping APIs Yes Yes
Carrier accounts Unlimited Unlimited
Hosting Self-hosted Self-hosted
Maintenance & support Community Dedicated
Whitelabel No Yes
Multi-tenant & Multi-org No Yes
Reporting & Analytics (soon) No Yes
Shipping billing data (soon) No Yes

Official Client Libraries

Use the swagger editor to generate any additional client with our OpenAPI References

Resources

License

This project codebase license is under the terms of the AGPL v3 license.

An OSS build is released under the Apache 2 License.

See the LICENSE file for license rights and limitations.

Any other questions, mail us at hello@purplship.com. We’d love to meet you!

About

The Open Source Multi-carrier Shipping API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 72.5%
  • JavaScript 22.3%
  • HTML 4.2%
  • Other 1.0%