Table of Contents
As someone who forgets to ask if a dish has any allergens in it (peanuts and tree nuts in my case), I thought building this helpful tool might be cool. Take a picture of your food, upload it, execute the API calls, and voila ... food, ingredients, and potential allergens are detected for you. No need for social interaction!
P.S. This is for educational and experimental purposes only. Do not use this as official. Consult your food provider or official nutritional information
npm i
- radix-ui
- radix-ui/themes
- radix-ui/icons
- firebase
- gh-pages --save-dev
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
- Get a free API Key at LogMeal.es and create database with Firebase DB
- Clone the repo
git clone https://github.com/your_username_/Project-Name.git
- Install NPM packages
npm install
- Enter your API in
src/config.js
export const configuration = { LOGMEAL_API_KEY: 'YOUR LOGMEAL API KEY', LOGMEAL_API_URL: 'https://api.logmeal.es', LOGMEAL_API_DISHPATH: '/v2/image/segmentation/complete/v1.0?language=eng', LOGMEAL_API_NUTRIPATH: '/v2/nutrition/recipe/ingredients/v1.0?language=eng' }; export const firebaseConfig = { apiKey: "YOUR FIREBASE KEY", authDomain: "YOURPROJECT.firebaseapp.com", databaseURL: "YOUR DATABASE URL", projectId: "YOUR PROJECT ID", storageBucket: "", messagingSenderId: "", appId: "", measurementId: "" }
- Add Error Alerts
- Host on Vercel
- Multi-language Support
- Spanish
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request