Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.36 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.36 KB

Columba

Columba is a shipping rate calculator created for Shopify stores that provides shipping rates for indonesian Couriers. Designed to be run on Google Cloud Function. It is used as a CarrierService on Shopify.

Features

  1. Calculated shipping rates for TIKI, JNE, Pos Indonesia (powered by RajaOngkir. Rates are calculated based on weight, origin, and shipping location.
  2. Monitoring using Sentry

Usage

The simplest way to deploy your own columba instance is as a Google Cloud Function.

Pre-requisites

  1. RajaOngkir account and API key
  2. Sentry account and API key (optional, only if you want monitoring).

Deployment

This is my preferred way to deploy:

  1. Fork this repo
  2. Mirror your fork on Google's Cloud Source for use with Cloud Function.
  3. Deploy to Google Cloud Function using Cloud Source Repository that you just created.
    • While creating the function, set Function to execute field as Columba.
    • Also add RajaOngkir API as environment variable named RAJA_ONGKIR_KEY.
    • To turn sentry on, just add your sentry DSN as environment variable named SENTRY_DSN also.