Skip to content

ASamayoa/entry-challenge#9

Open
ASamayoa wants to merge 5 commits into
corecodeio:masterfrom
ASamayoa:master
Open

ASamayoa/entry-challenge#9
ASamayoa wants to merge 5 commits into
corecodeio:masterfrom
ASamayoa:master

Conversation

@ASamayoa
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@JonathanL1ma JonathanL1ma left a comment

Choose a reason for hiding this comment

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

¡Buen comienzo @ASamayoa ! Creo que te estas complicando demasiado, porfavor resolvé los comentarios que te he dejado. Recordá que estamos trabajando con TypeScript 😀.

Comment thread .gitignore
@@ -1,5 +1,6 @@
.env

/public
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No se porqué agregarias la carpeta /public en el .gitignore si está carpeta no existe en el proyecto.

Comment thread package.json
"test": "echo \"Error: no test specified\" && exit 1",
"start": "ts-node-dev --no-notify --respawn ./src",
"start:debug": "ts-node-dev --inspect --no-notify --respawn ./src"
"start": "nodemon src/index.js"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No es necesario la utilización de está librería nodemon.

Comment thread package.json
"axios": "^0.19.2",
"bcryptjs": "^2.4.3",
"express": "^4.17.1",
"nodemon": "^2.0.4",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Comment thread sendedInfo.json
Comment on lines +1 to +29
{
"contactInfo": {
"fullName": "",
"emailAddress": ""
},
"github": {
"profileURL": "",
"username": ""
},
"credentials": {
"password": "Cambia esta contraseña a una que sólo tú sepas"
},
"personalInfo": {
"questions": [
{
"question": "If I was a Sr. Programmer, I would like to build:",
"answer": "Respuesta: ..."
},
{
"question": "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect",
"answer": "Respuesta: ..."
},
{
"question": "code is poetry, because:",
"answer": "Respuesta: ..."
}
]
}
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Está información debería de estar en un archivo de data.ts.

Comment thread src/index.js
@@ -0,0 +1,114 @@
const Ajv = require("ajv");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Este archivo index.js debe de ser index.ts y no se tiene que modificar nada en el, las peticiones que haces tienen que ir en un archivo client.ts.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Regresa al index.ts que se te proporciono al momento de clonar el repositorio.

Comment thread src/server.js
@@ -0,0 +1,6 @@
const express = require("express");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Se tiene que trabajar con TypeScript, regresá este archivo a un server.ts.

Comment thread tsconfig.json
@@ -1,15 +0,0 @@
{
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No debes de eliminar este archivo debido a que estamos trabajando con TypeScript.

Comment thread package-lock.json
@@ -0,0 +1,1875 @@
{
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Estamos utilizando yarn para instalar las dependencias, borra este archivo y al momento que instales las dependencias con yarn se te autogenerara un archivo yarn.lock.

Copy link
Copy Markdown

@netpoe netpoe left a comment

Choose a reason for hiding this comment

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

@JonathanL1ma gracias por tus comentarios.

@ASamayoa por favor resuelve las observaciones.
Puedes inspirarte de otros PRs que ya han sido completados:

https://github.com/corecodeio/entry-challenge-v1/pulls

procura entender el funcionamiento y has los cambios pertinentes.

Comment thread sendedInfo.json
"questions": [
{
"question": "If I was a Sr. Programmer, I would like to build:",
"answer": "Respuesta: ..."
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

y tus respuestas?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants