Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASamayoa/entry-challenge #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

ASamayoa
Copy link

No description provided.

Copy link

@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 😀.

@@ -1,5 +1,6 @@
.env

/public

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.

@@ -5,8 +5,7 @@
"main": "index.js",
"scripts": {
"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"

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.

@@ -15,6 +14,7 @@
"axios": "^0.19.2",
"bcryptjs": "^2.4.3",
"express": "^4.17.1",
"nodemon": "^2.0.4",

Choose a reason for hiding this comment

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

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: ..."
}
]
}
}

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.

@@ -0,0 +1,114 @@
const Ajv = require("ajv");

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.

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.

@@ -0,0 +1,6 @@
const express = require("express");

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.

@@ -1,15 +0,0 @@
{

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.

@@ -0,0 +1,1875 @@
{

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

@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.

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

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