Skip to content

ChristianPredoianu/food-app-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food Recipe App Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup


Logo

Food Recipe App

Explore the docs »

View Demo · Report Bug

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgements

About The Project

NOTE: PLEASE NOTE THAT THE EDAMAM FREE API ONLY ALLOWS 10 THROTTLING CALLS/MIN HENCE THE 429 Error – Too Many Requests AFTER 10 CALLS/MIN!
A food recipe app for looking up recipes, see details about a recipe, search for a recipe, sign up, sign in to add favorite recipes to admin page.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/ChristianPredoianu/food-app-vue.git
  2. Install NPM packages
    npm install
  3. Serve with hot reload at localhost
     npm run dev
  4. Build for production
     npm run build
    

Usage

The user is given some default recipes from the Edamam recipe Api when the home page loads. The user can either search for recipes in the navigation or the search box. When clicking the filter button a modal shows up where the user can filter recipes and also view details about the recipe, like nutrients, tags and other relevant information. When the user reaches the bottom of the page, additional recipes are loaded (infinite scroll) with some limitations (scrolling 3 times max) because of limit from the Edamam recipe API free plan. You can add recipes to your favorites. If the user tries to add a recipe without being authenticated the user is redirected to the sign in page. If the user is not a member he/she can become one by filling out a form that uses validation to give information to the user what inputs are incorrect/correct. After being authenticated (Firebase auth) the user can add or remove favorite recipes to the admin page. The app uses Firebase realtime database to store a users favorite recipes.

To try out the app just sign up with a username, email and password. The email doesn't have to be a real one as long as it follows the format of an email.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Christian Predoianu - @linkedin - christianpredoianu@yahoo.com

Project Link: https://github.com/ChristianPredoianu/food-app-vue

Acknowledgements