Giter Club home page Giter Club logo

easymeals's Introduction

easymeals

#runn

Detailed setup instructions

Install my-project with npm

download easymeals

run following commands

  cd easymeals
  yarn or yarn install
  yarn dev

githubrepoLink

weblink

Code architecture description

Dummy data (In api folder create dummy data for)

  1. restaurants list of restaurant
  2. products list of product restaurant = { id,name,address} product = {id,restaurantId,name,categories,filters,description,image}

map product with restaurant using restaurantId

filter products (3 levels of filtering)

  1. filters In product obj. We have list of filters using this we filter product using selectedFilters list
  2. Categories In product obj. We have list of categories using this we filter product using selectedCategory.
  3. 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

login

  1. define authentication function in authDemo file in utils folder
  2. on registration save user in users list in local storage
  3. on login save user details in local storage {if user present in users list in local storage}
  4. logout remove user details from local storage
  5. using get user details function get user details if user is logged in

cart list

  1. When we click on product. We will get product details also get addCart button. using this button we will add product in cart list
  2. We will save cart product in cartItems list in local storage

wishList

  1. When we like a product. It will be added to wish list. wishList will be in local storage like cart list

easymeals's People

Contributors

parmeshwarpanwar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.