Skip to content

maxsimongt3/purplship-server

 
 

Repository files navigation

Purplship

The Open Source Multi-carrier Shipping API

CI License: AGPL v3

What's Purplship?

Purplship server is an On-prem or cloud Multi-carrier Shipping API. The server is in Python, but you can use any programming language to send API requests to any supported shipping carriers (Canada Post, DHL, FedEx, UPS, Purolator...), from your application.

Deployment

Docker

Deploy with docker compose
version: '3'

services:
  db:
    image: postgres
    restart: always
    environment:
      POSTGRES_DB: "db"
      POSTGRES_USER: "postgres"
      POSTGRES_PASSWORD: "postgres"

  purplship:
    image: purplship/purplship-server:[version]
    restart: always
    environment:
      - DEBUG_MODE=True
      - ALLOWED_HOSTS=*
      - DATABASE_HOST=db
      - DATABASE_PORT=5432
      - DATABASE_NAME=db
      - DATABASE_USERNAME=postgres
      - DATABASE_PASSWORD=postgres
    ports:
      - "5002:5002"
    depends_on:
      - db

OR use our image

Run an instance of Postgres image
docker run -d --name db -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres postgres
docker run --name purplship --link=db:db -p5002:5002 purplship/purplship-server:[version]

Heroku

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

Deploy

Official Purplship Client Libraries

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

Resources

License

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

We also release a community image 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 46.1%
  • TypeScript 41.4%
  • SCSS 7.3%
  • HTML 4.2%
  • Shell 0.7%
  • JavaScript 0.2%
  • Dockerfile 0.1%