Skip to content

The application management support restaurants! displays a list of menus to your customers, shows pictures of meals, places orders, synchronize your system information.

Notifications You must be signed in to change notification settings

wcaraza/chefrecommends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chef Recommends

If you have a restaurant this application is for you!!

The support management restaurant-application displays a list of menus to your customers. In addition, shows pictures of meals, takes orders, synchronize your system information, and more.

alt tag

How to use

The application has 2 ways to load and send data:

Webservices:

This application reads RESTFUL based-services. The API services involves sending information from the application to the server (request), and the other way around. (response)

Excel documents:

To load information from an excel document to use the application file:

/Chefrecommends/Excel/chefrecommends.xls

To export the order information copy registered application file:

/Chefrecommends/Excel/exportchefrecommends.xls

API

To update the bd of mobile application should consult the tables of the database

Request webservices:

  1. Post new order
[
  {
    "fecha": "2014-01-03 02:00:18",
    "idestado": 1,
    "total": 54,
    "id": 27,
    "idcliente": 6
  },
  {
    "fecha": "2014-01-03 02:00:30",
    "idestado": 1,
    "total": 30,
    "id": 28,
    "idcliente": 1
  }
]
  1. Send order detail
[
  {
    "total": 30,
    "precio": 15,
    "cantidad": 2,
    "id": 40,
    "idproducto": 1,
    "idpedido": 27
  },
  {
    "total": 18,
    "precio": 18,
    "cantidad": 1,
    "id": 41,
    "idproducto": 3,
    "idpedido": 27
  },
  {
    "total": 6,
    "precio": 6,
    "cantidad": 1,
    "id": 42,
    "idproducto": 17,
    "idpedido": 27
  },
  {
    "total": 30,
    "precio": 15,
    "cantidad": 2,
    "id": 43,
    "idproducto": 1,
    "idpedido": 28
  }
]

Response webservices:

  1. Json API for writing information from the server to the application
{
  "cliente": [
    {
      "id": "1",
      "nombre": "Mesa 1"
    },
    {
      "id": "2",
      "nombre": "Mesa 2"
    },
    {
      "id": "3",
      "nombre": "Mesa 3"
    },
    {
      "id": "4",
      "nombre": "Mesa 4"
    },
    {
      "id": "5",
      "nombre": "Mesa 5"
    },
    {
      "id": "6",
      "nombre": "Mesa 6"
    },
    {
      "id": "7",
      "nombre": "Mesa 7"
    },
    {
      "id": "8",
      "nombre": "Mesa 8"
    },
    {
      "id": "9",
      "nombre": "Mesa 9"
    },
    {
      "id": "10",
      "nombre": "Mesa 10"
    }
  ],
  "productos": [
    {
      "id": "2",
      "nombre": "Chicharron de pollo",
      "descripcion": "",
      "stock": "30",
      "precio": "10.5",
      "idestado": "1",
      "imagen": "http://a3.twimg.com/profile_images/740897825/AndroidCast-350_normal.png"
    }
  ],
  "producto_galeria": [
    {
      "id": "3",
      "idproducto": "1",
      "imagen": "http://farm6.static.flickr.com/5186/5841048399_8d9d7aeefe.jpg",
      "file": "5841048399_8d9d7aeefe.jpg",
      "idestado": "1"
    },
    {
      "id": "4",
      "idproducto": "1",
      "imagen": "http://www.generaccion.com/w/imagenes/gastronomia/recetas/frijoles-con-seco.jpg",
      "file": "frijoles-con-seco.jpg",
      "idestado": "1"
    },
    {
      "id": "5",
      "idproducto": "7",
      "imagen": "http://7artminds.com/nikiweb/Imagenes/chicharron-de-pollo.jpg",
      "file": "chicharron-de-pollo.jpg",
      "idestado": "1"
    },
    {
      "id": "6",
      "idproducto": "1",
      "imagen": "http://www.viajejet.com/wp-content/viajes/ceviche.jpg",
      "file": "ceviche.jpg",
      "idestado": "1"
    }
  ]
}

About

The application management support restaurants! displays a list of menus to your customers, shows pictures of meals, places orders, synchronize your system information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published