Skip to content

Ayush7970/Wildhacks_tariff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌾 Tariffarm

Tariffarm Banner

Tariffarm: A powerful tool for visualizing agricultural trade tariffs, costs, and routes with interactive 3D maps.

Built with Flask
Built with React
Deployed on Vercel


🚀 What is Tariffarm?

Tariffarm is a web-based platform designed to provide clarity and insight for agricultural trade.
It helps smallholder farmers, exporters, and traders to:

  • 📦 Calculate applicable tariffs, duties, and regulatory fees
  • 🛳 Discover optimal shipping routes (land, sea, air)
  • 🗺 Visualize ports, customs points, logistics hubs
  • 💸 Estimate total cost and delivery time
  • 📊 See detailed cost breakdowns for freight, handling, permits, customs

Key Features

Secure login with Auth0
Protected/private API endpoints
Interactive 3D globe (amCharts)
Dynamic node coloring & selection
Animated trade routes with airplane icons
City-level and country-level mapping


🎥 Demo Video

👉 Watch on YouTube

Tariffarm Demo


🖼 Screenshots

🌐 Home Input & Insights

Home Input & Insights

🌍 3D Globe with Routes & Table

3D Globe with Routes

🛫 Landing Page

Landing Page


🛠 Tech Stack

Technology Purpose
Python (Flask) Backend API + Auth0 integration
React + Next.js Dynamic frontend UI
amCharts 5 3D map & globe visualizations
Tailwind CSS Responsive styling
Vercel Deployment
Auth0 Authentication
Gemini AI Logic augmentation

New Features

  • 🌟 Dynamic city node highlighting on 3D globe
  • 🌟 Animated arrows with custom airplane SVGs
  • 🌟 Final result button triggers backend cost calculation
  • 🌟 Expanded city/country support (50+ nodes)
  • 🌟 Improved zoom and rotation controls

How to Run Locally

# Backend
cd backend
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
flask run

# Frontend
cd frontend
npm install
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages