8000 GitHub - 59inu/_foodo: :apple: a web application to check inside of your doubtful refrigerator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

59inu/_foodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foodo

🍎 a web application to check inside of your doubtful refrigerator



Concept

A simple web-app tool to manage misterious stock of your refrigerator!

Skill Stack

React
React-strap

..
Sequelize
Mysql
Express
Jwt

Usase

npm install

If some error in chart

npm install chart.js

To start

npm start

API

GET / users
; return a array of objects of all users in a database
request : [{'email', 'userName', 'createdAt'},...]

GET / users/:id
; return a data of one user specified by userid in a database
request : {'email', 'userName', 'createdAt'}

GET / users/signout
request : 'ok'

POST / users/signin
request : {'email', 'password'}
response : 'ok'

POST / users/signup
request : {'email', 'password', 'userName'}
response : 'ok'

GET / ingredients/all
; datas of all ingredients
response : [{'id', 'ing_name', 'category'},...]

GET / ingredients
; ingredients stock datas for logged in user
response : [{'id', 'name', 'put', 'rest', 'msg', 'userMemo','frozen','quantity','unit','entryQ'} ...]

POST / ingredients/additem
; add ingredients to a user's stock
request : { 'ing_name', 'exp', 'quantity', 'userMemo', 'frozen', 'unit','quantity'}
response : 'ok'

POST / ingredients/quantity
; modify quantity of ingredients
request : {'ing_name', 'put', 'quantity'}
response : 'ok'

POST / ingredients/delete
; delete quantity of ingredients
request : {'ing_name', 'put'}
response : 'ok'

GET / menus/all
; all menu
response : {['id', 'menu_name' ,'menu_ing'],...}

GET / menus
; recomend menu for a user
response : {'menu_name', 'menu_ing'}

About

🍎 a web application to check inside of your doubtful refrigerator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0