Created By: Chirag Dalmia, Leo Cheng, and Kevin Huang
This repository is the source code for our website: https://scanterra.vercel.app/ created for TerraHacks 2024.
ScanTerra is a web application that scans barcodes to fetch product details and evaluates their eco-friendliness using AI technology. Our mission is to help consumers make environmentally conscious decisions by providing them with a carbon footprint score!
- Barcode Scanning: Use your device’s camera to scan barcodes and identify products.
- Product Information Lookup: Fetch detailed product information from the Barcode Lookup API.
- Eco-Friendliness Score: Get an eco-friendliness score out of 100 for each product, calculated using AI technology.
- User-Friendly Interface: Designed with Tailwind CSS for a modern, responsive experience.
- Frontend Framework: Next.js
- Vercel: https://vercel.com/
- Typescript: https://www.typescriptlang.org/
- React: React for building user interfaces
- Tailwind CSS: Tailwind CSS for styling
- Framer Motion: Framer Motion for animations
- Barcode Scanning: react-zxing for barcode scanning
- Barcode Lookup API: https://www.barcodelookup.com/api for accessing barcode data
- AI Integration: @anthropic-ai/sdk for calculating carbon footprint score
Follow these steps to get the project running on your local machine:
- Clone the Repository
- Install Necessary Dependencies using npm
- Set up Local Environment Variables
- Run the Development Server using npm run dev