Giter Club home page Giter Club logo

react-shopping-list-template's Introduction

React Shopping List Template

https://groceristar.github.io/documentation/docs/shop-list-information/components-structure.html

https://ant.design/components/form/

Table of contents

Overview

Basic functionality:

  • Page with grocery list collection
  • Grocery list details page
  • Departments list
  • Shopping list
  • Login screen

User Stories

User can:

  • Create an account
  • Successfully login
  • Add items to the shopping list
  • Edit items previously created
  • Delete items from grocery list
  • Mark items as purchased
  • Mark items as favorites
  • View all favorite items in one page
  • Click on item to get more information about item
  • User can logout

Clone Grocery List Template

  1. Click Clone on template
  2. Edit grocery list name
  3. Review Departments and Ingredients. Make changes if you need
  4. Hide or delete unnecessary Department on manage page.

Department

You can

  • hide
  • delete
  • skip
  • view
  • edit

Inventory of all shopping lists. Shopping/grocery can

  • Adding items (quantity, measurements, additional notes);
  • Sorting items (A-Z, Z-A, 1-99, 99-1 ). Or drag-n-drop sorting;
  • Marking items as "purchased" or "non-purchased”;
  • Deleting items (delete one/all);
  • Moving items (move items to another list, copy items);
  • Product Suggestions;
  • Sharing with community, family members, via email
  • Deparments management
  • Predefined grocery lists. GL collection.
  • Grocery list cloning
  • Empty grocery list creation
  • Autogeneration of GL from recipes
  • Import grocery items from Excel file

"Cloning"(when user "clone" a list, it's appears in his account). User cannot change a template(grocery list from collection), but can apply changes to cloned version. We change a Grocery List ID and if user change Departments, Ingredients - we replace them(in order to keep main GL in save).

You can add grocery lists, you can create them from collection, or make your own list. All ingredients are non-purchased from the begining. When you check ingredient(we assume you are buying it) - this ingredient get status purchased. Purchased items will have this information: qty / Date / notes/ place where it was buyed.

Note: If we uncheck ingredient - it change it's status and removed from purchased list.

Note: we should have an ACL(Controlling data access), so user are not able to delete data of other people.


Important Notes

  • We'll use Sentry Releases to ship better code

  • We'll use git-flow so we'll not intersect between developers

  • We'll use PR for pushing your code into master and I'll be a reviewer

  • We'll use bin-flow

  • For making react components ready for cross-projects we'll use Bit.

  • We'll use Jest + Enzyme for tests

  • We'll use Netlify in order to have ability review our pages online

  • We'll use Travis CI for setting up tests coverage

  • Send API calls to server. @TODO share with team an API endpoints. for making calls use Axious.

  • For subscription service we'll use Paddle.js

  • Each component should looks simple and understandable

  • We should use ReactStrap components for faster development process

react-shopping-list-template's People

Contributors

aanchirinah avatar aminukano585 avatar atherdon avatar dependabot-preview[bot] avatar dependabot-support avatar guifss avatar kaiz-growfitter avatar kaiz123 avatar vadim9999 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

react-shopping-list-template's Issues

not finished

this is a react example
http://todomvc.com/examples/react/

this is list of components that i used in - will add it later.

this is basic list of features that you need to be aware of. - will add it later

code that i create with jquery help
https://github.com/GroceriStar/groceristar/blob/master/client/public/javascript/jquery/all2.js

how it looks in release #0
https://vimeo.com/260263675

first version don't require sending a queries into GS api server.

we need to have read only version - for showing how shop list working
and version with all functionality

https://github.com/GroceriStar/groceristar/tree/master/server/views/pages/shopping

So main idea is not create it from scratch, but maybe better to use some created before solutions in order to not re-invent the wheel.

https://github.com/GroceriStar/creative/tree/master/prev.%20design.screens
https://github.com/GroceriStar/creative/tree/master/sitemaps

router

basic preparations

  • install enzyme + adapter

  • discuss what basic tests we can do

  • install eslint + config airbnb

  • install fetch plugin

  • travis setup

  • try to setup page at Netlify(but we cannot because of gs-fetch)

[lists][alpha]

я немного пока делаю курс - переделал list.
я его сейчас залью в отдельный проект
тебе нужно будет скачать себе его репозиторий
потом сделать стандартный npm publish потому что последние коммиты не на npm
а потом установить этот плагин на этот проект и вывести информацию

название @groceristar/grocery-component
https://www.npmjs.com/package/@groceristar/grocery-component
а репо https://github.com/GroceriStar/grocery-react-component

пример как я использую этот dumb component
https://github.com/GroceriStar/showcase/blob/master/src/views/HomeView.js#L12

[Components][Ingredient]

we'll have a set of simple components, related to ingredients. Later i'll explain the reasons
list:

  • simple text(or label)
  • text with id
  • Checkbox, label, id, Edit link, Delete link
  • list element(part of Ingredient list)
  • editable label for ingredient
  • part of selectbox
  • label, id, order, status

Forms

  • Create New Ingredient Form(Simple version)
  • Create New Ingredient Form with adding result to the ingredient list
  • Form with Autocomplete version

compare routes that we have with our sitemap

setup .env raven flow

so different people can use it together. or i should display it for myself only....

separated view with display data of GL

this task is similar to work that Vadim did before at showcase - when you click on tile. What we should do?
I want to update it somehow.... So we don't move this stuff just from one place to another

department components. stage2

install modules

groceristar-fetch
react-select
raven-js
react-final-form
antd
enzyme
enzyme-adapter-react-16

main list

  • display data from fetch plugin on some empty page
  • create a routes list
  • create list of basic tests
  • my links that i use
  • create gifs from videos and then showcase them.
  • create list of pages
  • create list of forms
  • create parent components, like a wrappers, that have all imports inside of it.
  • create releases plan

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.