-
Notifications
You must be signed in to change notification settings - Fork 21
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
Jimmygabriel/entry-challenge #16
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hola @JimmyGabriel
Excelente inicio, resuelve los comentarios a continuación.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JimmyGabriel instala prettier
en tu editor.
También agrega esta configuración en settings.json
.:
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
src/data.ts
Outdated
}, | ||
{ | ||
"question": "code is poetry, because:", | ||
"answer": "The overflow of the soul, a lucid dream, the spirit of the developer. Of what is not yet, but already is, before it was." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
settings.json , me surge una duda, estoy utilizando webstorm. Recuerdo configurar settings.json en Visual Studio Code, es necesario en WebStorm? Gracias por tus comentarios.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saullopezc @areyes107 , @JimmyGabriel hizo actualizaciones, por favor comprueben y hagan nuevos comentarios de ser necesario.
De entrada, los archivos .xml
son innecesarios.
Puntos positivos: se aplicó prettier
.
hay que checar organización de ./src/data.ts
@netpoe , gracias ya atendi tus comentarios sobre la organización de |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JimmyGabriel buena iniciativa.
Actualiza tu propuesta con el comentario. Estás cerca.
src/utils/config.ts
Outdated
switch (process.env.NODE_ENV) { | ||
case "production": | ||
path = `${__dirname}/../../.env.production`; | ||
break; | ||
default: | ||
path = `${__dirname}/../../.env.development`; | ||
} | ||
dotenv.config({ path: path }); | ||
|
||
export const PASSWORD_ENV = process.env.PASSWORD_ENV; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esta es buena iniciativa, aunque no se recomienda utilizar .env-production
y .env-[cualquiera]
. Siempre utiliza un solo .env
porque en tu sesión sólo hay 1 ambiente.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@netpoe gracias, atendi ya tu comentario.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JimmyGabriel ya casi.
resuelve el último comentario.
Saludos
package-lock.json
Outdated
@@ -0,0 +1,1197 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JimmyGabriel muy cerca
Hay que quitar este file, porque estamos usando yarn
para instalar dependencias. yarn
crea el archivo yarn.lock
, el cual ya existe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@netpoe atendi ya tu comentario, gracias. Eliminando package-lock.json
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Bienvenido.
Por favor acepta la invitación de miembro de Github.
También te va a llegar una invitación a Slack
POST/GET
Utilizando axio se realizaron los metodos POST y GET dando como resultado claveDeAcceso.