#runn
Install my-project with npm
run following commands
cd easymeals
yarn or yarn install
yarn dev
- restaurants list of restaurant
- products list of product restaurant = { id,name,address} product = {id,restaurantId,name,categories,filters,description,image}
map product with restaurant using restaurantId
- filters In product obj. We have list of filters using this we filter product using selectedFilters list
- Categories In product obj. We have list of categories using this we filter product using selectedCategory.
- Search by Recipe Title In product obj. We have name or title of the product using we search keyword in name or title. according that filter product
- define authentication function in authDemo file in utils folder
- on registration save user in users list in local storage
- on login save user details in local storage {if user present in users list in local storage}
- logout remove user details from local storage
- using get user details function get user details if user is logged in
- When we click on product. We will get product details also get addCart button. using this button we will add product in cart list
- We will save cart product in cartItems list in local storage
- When we like a product. It will be added to wish list. wishList will be in local storage like cart list