mood-food-cli
v1.0.0
Published
A CLI app for food recommendations based on mood
Readme
🍽️ Mood Food
A command-line interface (CLI) tool that helps you discover food recommendations based on your mood and find recipes by ingredients.
✨ Features
1. Mood-Based Food Recommendations
Get personalized food suggestions based on how you're feeling:
- 😊 Happy - Uplifting treats and energy-boosting foods
- 😢 Sad - Comforting and mood-enhancing options
- 😰 Stressed - Calming and nutritious choices
- 😴 Tired - Energy-boosting and revitalizing foods
2. Recipe Search by Ingredient
Find recipes and meal ideas using specific ingredients:
- 🔍 Search by any ingredient
- 📋 Get detailed recipes with measurements
- 🌍 Learn about the origin of dishes
- 📝 View complete ingredient lists
🚀 Installation
- Clone the repository:
git clone https://github.com/Divyaperumal/mood-food.git
cd mood-food- Install dependencies:
npm install- Build the project:
npm run build- (Optional) Install globally:
npm install -g .📝 Usage
Mood-Based Recommendations
mood-food moodRecipe Search by Ingredient
mood-food ingredient <ingredient>🛠️ Technical Requirements
- Node.js (v14 or higher)
- npm (v6 or higher)
- Internet connection (for recipe searches)
📦 Dependencies
- commander - CLI framework
- inquirer - Interactive command prompts
- chalk - Terminal styling
- axios - HTTP client for API requests
- dotenv - Environment configuration
🤝 Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 License
This project is licensed under the ISC License - see the LICENSE file for details.
🙏 Acknowledgments
- Recipe data provided by TheMealDB API
- Mood-food recommendations based on nutritional research
🐛 Troubleshooting
If you encounter any issues:
- Ensure all dependencies are installed:
npm install- Check your Node.js version:
node --versionVerify your internet connection for recipe searches
If you get permission errors when installing globally, try:
sudo npm install -g .📞 Support
For support, please:
- Check the Issues page
- Create a new issue if your problem isn't already listed
