Skip to content

mooyoul/refined-unipass

Repository files navigation

refined-unipass

Build Status Infra Status Github Pages Status Semantic Release enabled Renovate enabled MIT license

Yet another Web App that simplifies the Unipass (Korean Customs Service) and adds useful features.

Live Demo

https://mooyoul.github.io/refined-unipass/

Screenshots

Quick Query B/L Query
Screenshot Screenshot
Compact Report Detailed Report
Screenshot Screenshot
Multiple Results Error Dialog
Screenshot Screenshot

Key Features

  • Compact & Simple UI for mobile devices
  • Quick cargo query without supplying "Arrival Year".
  • WIP - Event Notifications via Telegram, PushBullet, and Slack.

API

Getting Started

You'll need to prepare below resources:

  • Pre-configured AWS Credentials
  • API Key for accessing Unipass API - Docs
$ git clone https://github.com/mooyoul/refined-unipass.git
$ cd refined-unipass
$ npm ci

Deploying your own API service

$ env \
    CARGO_CLEARANCE_PROGRESS_API_KEY=YOUR_API_KEY \
    CORS_ALLOWED_ORIGINS='https://mooyoul.github.io http://www.lvh.me:8080' \
    CORS_MAX_AGE='3600' \
    npm run deploy:prod

(Optional) Deploying CDN

$ cd infra
$ npm ci
$ env \
    CDK_DEFAULT_REGION=us-east-1 \
    CDK_DEFAULT_ACCOUNT=YOUR_AWS_ACCOUNT_ID \
    CDN_DOMAIN_NAME=refined-unipass.example.com \
    CDN_ZONE_NAME=example.com \
    API_DOMAIN_NAME=xxxx.execute-api.region.amazonaws.com \
    API_PATH=/stage \
    npm run cdk -- deploy

Testing

Test Suites are not available at this moment.

Web Client

Getting Started

$ cd client
$ npm ci

Running web client locally

$ cd client
$ npm run dev

then, Navigate to http://www.lvh.me:8080.

Testing

Test Suites are not available at this moment.

Related

License

MIT

See full license on mooyoul.mit-license.org

About

Yet another Web App that simplifies the Unipass (Korean Customs Service) and adds useful features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published