Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

finish project#18

Open
castillojessica wants to merge 46 commits into
Laboratoria:masterfrom
Sheiki1:master
Open

finish project#18
castillojessica wants to merge 46 commits into
Laboratoria:masterfrom
Sheiki1:master

Conversation

@castillojessica

Copy link
Copy Markdown

No description provided.

@reloadercf reloadercf left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jessy, Shei & Abi, me agrada la logica seguida para resolver su proyecto, tengo recomendaciones:
1)Consistencia, algunas variable estaban en español y otras en ingles, NO USAR camelcase en css y ten cuidado con el formato (identaciones y todas las importaciones)
2)pudiste reutilizar algos elementos que vi repetitivos, por otro lado había archivos que superaban las 200 Linas de código, ten cuidado con esto porque puede seguir creciendo el código y resulte confuso en un futuro
3)tu código tuvo muchas lineas que no se utilizan lo cual te recomiendo BORRAR
4) El uso de GitHub para seguir la linea de tiempo de su código (solo veo cambios de 2 personas) CUIDADO.
Lo que más me gusto fue el uso de firebase y las funciones que utilizaron para actualizar y guardar en firebase.

Comment thread .gitignore
@@ -0,0 +1,65 @@
# Logs

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esta bien el uso de gitignore

Comment thread README.md
@@ -1,4 +1,4 @@
# Burger Queen
# Burger Queen Laboratoria

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

complementar el readme con: diagramas de flujo o capturas de pantalla y manual de usuario

Comment thread my-app/.gitignore
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tienen 2 gitignore lo cual ESTA MAL

Comment thread my-app/package.json
@@ -0,0 +1,38 @@
{
"name": "my-app",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"name": "my-app",
"name": "Burger Queen",

Comment thread my-app/public/index.html
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<title>React App</title>
<title>Burger Queen</title>

Comment on lines +70 to +77
<Switch>
<Route path="/Comida">
<Comida ProductsFo={ProductsFo} addItemToOrder={addItemToOrder} handleCounter={handleCounter} />
</Route>
<Route path="/">
<Desayuno ProductsBF={ProductsBF} addItemToOrder={addItemToOrder} handleCounter={handleCounter}/>
</Route>
</Switch>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debes usar link to
en vez de crear un nuevo router

</tr>

</table>
<button onClick = { () => {sendOrderKitchen({

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ten CUIDADO con el formato

Comment on lines +4 to +5
//agregar estilos
//imprimir precio

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//agregar estilos
//imprimir precio

Comment on lines +8 to +14
<button

key={product.id}
onClick={()=>addItemToOrder(product)}
>
<span>{product.nameProduct} {product.price}</span>
</button>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formato

@@ -0,0 +1,22 @@
import {v4 as uuidv4} from "uuid";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

el próximo reto es que consumas esta data desde firebase

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants