Skip to content

NouhailaBenelfakir/ReciGuide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# ReciGuide

ReciGuide is a full-stack application for personalized recipe suggestions. It leverages React.js for the frontend, Node.js and for the backend, Firebase for database and authentication, the Spoonacular API for recipe data, and an AI model for food recognition and nutritional data detection.

## Features

- **User Authentication**: Secure user sign-up and login using Firebase Authentication.
- **Recipe Suggestions**: Get personalized recipe suggestions based on user preferences and nutritional needs.
- **Food Recognition**: Upload images to detect food items and get nutritional information.
- **Spoonacular API Integration**: Fetch detailed recipe data from the Spoonacular API.
- **Responsive Design**: Optimized for both desktop and mobile viewing.

## Technologies Used

- **Frontend**: React.js, HTML, CSS
- **Backend**: Node.js, Express.js
- **Database**: Firebase Firestore
- **Authentication**: Firebase Authentication
- **API**: Spoonacular API
- **AI Model**: Custom AI model for food recognition and nutritional data detection

## Installation

To run this project locally, follow these steps:

1. **Clone the repository**:

   ```bash
   git clone https://github.com/your-username/reciGuide.git
   cd reciGuide
  1. Install frontend dependencies:

    cd frontend
    npm install
  2. Install backend dependencies:

    cd ../backend
    npm install
  3. Set up Firebase:

    • Create a Firebase project at Firebase Console.
    • Enable Firestore and Authentication.
    • Copy your Firebase configuration and add it to both the frontend and backend .env files.
  4. Set up Spoonacular API:

    • Sign up at Spoonacular and get an API key.

    • Add your Spoonacular API key to the backend .env file:

      SPOONACULAR_API_KEY=your_spoonacular_api_key
  5. Run the backend:

    cd backend
    npm start
  6. Run the frontend:

    cd ../frontend
    npm start

    The application will be running at http://localhost:3000.

Usage

  1. Sign up or Log in: Create a new account or log in with an existing account.
  2. Get Recipe Suggestions: Enter your preferences and get personalized recipe suggestions.
  3. Upload Food Images: Upload images to detect food items and get nutritional information.
  4. View Recipes: Browse through detailed recipe data fetched from the Spoonacular API.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them: git commit -m 'Add some feature'.
  4. Push to the branch: git push origin feature/your-feature-name.
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries, please contact me at [email protected].

About

A web app for meals suggestions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published