EcoTrack Service is the powerhouse behind the EcoTrack Chrome extension, empowering users to make impactful, sustainable product choices by delivering cutting-edge insights on product sustainability.
- Seamlessly integrates environmental reports for brands via Google Cloud Pub/Sub.
- Deploys the formidable Gemini 1.5 Pro AI model to dissect and evaluate product sustainability with precision.
- Delivers comprehensive sustainability intelligence, including:
- Carbon footprint analysis
- Recycling options
- Advanced sustainability tips
- Brand initiatives and commitments
- Harnesses the power of image recognition to scan and rigorously analyze product images.
- Backend Framework: Express.js
- Database: MongoDB with Mongoose
- Cloud Services:
- Google Cloud Pub/Sub
- Google Cloud Vertex AI
- AI/ML: Gemini 1.5 Pro
- Additional Libraries:
- Axios for HTTP requests
- cls-hooked for async hooks
- CORS for Cross-Origin Resource Sharing
- dotenv for environment variable management
- Joi for data validation
- jsdom for DOM manipulation
- Lodash for utility functions
- pdf-parse for parsing PDF documents
- UUID for generating unique identifiers
- Winston for logging
-
Clone the repository:
git clone https://github.com/bhavesh-songara/ecotrack-service.git cd ecotrack-service
-
Install dependencies:
npm install
-
Set up environment variables:
- Follow the example.env file for .env structure.
- Create a .env file in the root directory and add the necessary environment variables.
-
Start the server:
npm run dev