A lightweight user interface that allows you to track shipments using the Eagle1 Whereis API backend. Currently, two carriers are supported:
- FedEx (fdx)
- SF Express (sfex)
Built with Fresh and Deno, deployable to Cloudflare Workers.
Before you begin, make sure you have the following installed:
- Deno: Install from docs.deno.com/runtime/getting_started/installation
- Node.js (for Wrangler CLI): Install from nodejs.org
- Wrangler CLI (for deployment): Install with
npm install -g wrangler
git clone https://github.com/eagle1-sys/whereis-ui-v0.git
cd whereis-ui-v0Create a .env file in the root directory and add API_BASE_URL and your API_TOKEN. See .env.example for reference:
# API Configuration
API_BASE_URL=https://api.eg1.io/v0
API_TOKEN=your-api-token-hereStart the development server with hot reloading:
deno task devTo build the project for production:
deno task buildThis project is configured to deploy to Cloudflare Workers.
- Sign up for a Cloudflare account
- Authenticate with Cloudflare:
wrangler login
Deploy to Cloudflare Workers:
deno task build && wrangler deploy --keep-varsAdd the following variables to your worker directly from the Cloudflare dashboard:
API_BASE_URLAPI_TOKENBASE_URL
- Fresh 2.x - Full-stack web framework for Deno
- Tailwind CSS - Utility-first CSS framework
- Cloudflare Workers - Serverless deployment platform