nathanjohnson320 / international_shipper

Simple API wrapping international country codes, schedule B, and HTS codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

international_shipper

API that pulls data from HS, HTS apps and serves it via REST

Prerequisites

  • Make sure you have the postgres libpq (sudo apt install libpq-dev)
  • add a .env file with basic db credentials DATABASE_URL=postgres://postgres:postgres@localhost:5432/international_shipper_dev
  • Install the diesel CLI to run migrations cargo install diesel_cli --no-default-features --features postgres
    • if you're using asdf you might need to asdf reshim rust to add it to the path
    • diesel setup
    • diesel migration run

Data Sources

About

Simple API wrapping international country codes, schedule B, and HTS codes


Languages

Language:Rust 90.7%Language:PLpgSQL 9.3%