Respuestas para ver Pedidos, Ver un pedido en especial y poder informar si esta alistado o no.
Urls:
-
Se muestran todos los pedidos
http://server_name/pickingVoice/public/pedidos | GET -
Muestra los items que tiene un pedido
http://server_name/pickingVoice/public/pedido/{idPdo} | GET -
Actualiza el estado del item del pedido (True o False) = (Alistado o Por Alistar) http://server_namet/pickingVoice/public/pedido/{idPdo}/item/{idItem} | POST
-
Ver el estado del pedido (Estado:true) = (Pedido Completado).Se completan si los estados de los items estan todos en (true) = Alistado
http://server_name/pickingVoice/public/pedido/{idPdo} | POST
pst: Se entrega un archivo para visualizar las urls en Postman
En local:
- Crear un BD en phpmyadmin
- Configurar el .env
En la terminal del proyecto: Ejecutar
- php artisan migrate
- php artisan
- php artisan db:seed
Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
Documentation for the framework can be found on the Lumen website.
Thank you for considering contributing to Lumen! The contribution guide can be found in the Laravel documentation.
If you discover a security vulnerability within Lumen, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Lumen framework is open-sourced software licensed under the MIT license.