From dea8e7515dbbb359beb90c96ca29f4b56a458366 Mon Sep 17 00:00:00 2001 From: saullopezc Date: Wed, 17 Jun 2020 19:41:00 -0600 Subject: [PATCH 1/7] Reto completado --- .gitignore | 3 +- README.md | 85 +-------------------------------------------------- src/client.ts | 62 +++++++++++++++++++++++++++++++++++++ src/index.ts | 10 +++++- 4 files changed, 73 insertions(+), 87 deletions(-) create mode 100644 src/client.ts diff --git a/.gitignore b/.gitignore index a91eeca..cb17ad0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ /node_modules /dist -/data -src/client.ts \ No newline at end of file +/data \ No newline at end of file diff --git a/README.md b/README.md index 03e8ed5..90cdd09 100644 --- a/README.md +++ b/README.md @@ -1,84 +1 @@ -# Prueba de acceso a core-code.io v20.06.11 - -Welcome to Core Code entry challenge. - -Please follow the instructions and submit them before 2020/06/24. - -## Instructions - -### 1. Haz un fork de este repositorio - -Una vez creado el fork, clonarás el proyecto en tu máquina y crearás un file: `./src/client.ts` que haga lo siguiente: - -### 2. Send a POST request to `http://95.217.235.69/` with the following data: - -``` -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: ...", - }, - ], -}, -``` - -### 2. Verify that your information was saved successfully - -Send a GET request to the URL `http://95.217.235.69/:emailAddress` with the following headers: - -``` -{ - "Content-Type": "application/json", - "x-password": "tu contraseña especificada en el paso anterior" -} -``` - -The URL param `emailAddress` should be the email address you specified in the previous POST request. - -### 3. Ya casi - -You should get a response with a valid `claveDeAcceso`. - -### 4. Crea un pull-request de tu fork al repo original - -Tu branch deberá llamarse: `/entry-challenge`, y el pull-request deberá asignarse hacia `master` del repo original. - -### 5. Envía la contraseña y la solución - -Send an email to `gus@core-code.io`, cc'd to `sc@core-code.io`, with the following information: - -Asunto: `emailAddress@claveDeAcceso` - -El cuerpo del mensaje debe contener un link al pull-request. - -### 6. Espera los comentarios - -y resuélvelos hasta que tu PR sea aprobado. - -### 5. Espera la invitación de Github a tu correo registrado (Si no la recibes, es porque no te hemos aceptado) - -Agregaremos tu usuario de Github a la organización de [corecodeio](https://github.com/corecodeio). -También te agendaremos una reunión de bienvenida para el día 29 de junio. - -### Estás muy cerca de comenzar tu carrera de Software con Core Code. +# Reto Completado diff --git a/src/client.ts b/src/client.ts new file mode 100644 index 0000000..d457504 --- /dev/null +++ b/src/client.ts @@ -0,0 +1,62 @@ +const axios = require('axios'); + +const data = { + "contactInfo": { + "fullName": "Saul Lopez", + "emailAddress": "saullopezc@gmail.com" + }, + "github": { + "profileURL": "https://github.com/saullopezc", + "username": "saullopezc" + }, + "credentials": { + "password": "YwQuIzgsSTyDURgXq9Ot" + }, + "personalInfo": { + "questions": [ + { + "question": "If I was a Sr. Programmer, I would like to build:", + "answer": "Paquetes o librerias " + }, + { + "question": "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect", + "answer": "https://es.reactjs.org/docs/hooks-reference.html#useeffect" + }, + { + "question": "code is poetry, because:", + "answer": "Por la expresion y la belleza del codigo" + } + ] + } +}; + +export const createProfile = async () => { + try { + const res = await axios.post('http://95.217.235.69/', data); + console.log(`Status: ${res.status}`); + console.log('Body: ', res.data); + listProfile(); + } catch (err) { + console.error(err); + } +}; + +export const listProfile = () => { + + const URL = "http://95.217.235.69/saullopezc@gmail.com" + /*var myHeaders = new Headers(); + myHeaders.append("Content-Type", "application/json"); + myHeaders.append("x-password", "YwQuIzgsSTyDURgXq9Ot"); + console.log(myHeaders);*/ + axios.get(URL, { + headers: {"x-password": "YwQuIzgsSTyDURgXq9Ot", "Content-Type": "application/json" }}) + .then(response => { + // If request is good... + console.log(response.data); + + }) + .catch((error) => { + console.log('error ' + error); + }); + +}; \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 513b905..34ca549 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,10 +4,12 @@ import express from "express"; import fs from "fs"; import schema from "./schema.json"; import server from "./server"; +import {listProfile ,createProfile} from "./client"; + export const router = express.Router({ strict: true, -}); +}) server.get("/:emailAddress", async (req: Request, res: Response) => { const message = @@ -90,3 +92,9 @@ server.post("/", async (req: Request, res: Response) => { server.listen("80", () => { console.log("listening"); }); + +const ejecutar_cliente = () => { +console.log(createProfile()); +}; + +ejecutar_cliente(); From 264ea2583ad75b50f0c0a61c78160933239a4621 Mon Sep 17 00:00:00 2001 From: saullopezc Date: Wed, 17 Jun 2020 19:45:00 -0600 Subject: [PATCH 2/7] Dedazo error en " ; " linea 12 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 34ca549..9e8c6f8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ import {listProfile ,createProfile} from "./client"; export const router = express.Router({ strict: true, -}) +}); server.get("/:emailAddress", async (req: Request, res: Response) => { const message = From 500c0a6350682ecc8e563cf64670b715fac1ac07 Mon Sep 17 00:00:00 2001 From: saullopezc Date: Thu, 18 Jun 2020 13:45:50 -0600 Subject: [PATCH 3/7] Corrigiendo PR --- README.md | 85 +++++++++++++++++++++++++++++++++++++- password.txt | 1 + src/client.ts | 89 +++++++++++++++------------------------- src/data/index.ts | 33 +++++++++++++++ src/function/pass.ts | 12 ++++++ src/function/readfile.ts | 16 ++++++++ src/index.ts | 8 ---- 7 files changed, 180 insertions(+), 64 deletions(-) create mode 100644 password.txt create mode 100644 src/data/index.ts create mode 100644 src/function/pass.ts create mode 100644 src/function/readfile.ts diff --git a/README.md b/README.md index 90cdd09..03e8ed5 100644 --- a/README.md +++ b/README.md @@ -1 +1,84 @@ -# Reto Completado +# Prueba de acceso a core-code.io v20.06.11 + +Welcome to Core Code entry challenge. + +Please follow the instructions and submit them before 2020/06/24. + +## Instructions + +### 1. Haz un fork de este repositorio + +Una vez creado el fork, clonarás el proyecto en tu máquina y crearás un file: `./src/client.ts` que haga lo siguiente: + +### 2. Send a POST request to `http://95.217.235.69/` with the following data: + +``` +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: ...", + }, + ], +}, +``` + +### 2. Verify that your information was saved successfully + +Send a GET request to the URL `http://95.217.235.69/:emailAddress` with the following headers: + +``` +{ + "Content-Type": "application/json", + "x-password": "tu contraseña especificada en el paso anterior" +} +``` + +The URL param `emailAddress` should be the email address you specified in the previous POST request. + +### 3. Ya casi + +You should get a response with a valid `claveDeAcceso`. + +### 4. Crea un pull-request de tu fork al repo original + +Tu branch deberá llamarse: `/entry-challenge`, y el pull-request deberá asignarse hacia `master` del repo original. + +### 5. Envía la contraseña y la solución + +Send an email to `gus@core-code.io`, cc'd to `sc@core-code.io`, with the following information: + +Asunto: `emailAddress@claveDeAcceso` + +El cuerpo del mensaje debe contener un link al pull-request. + +### 6. Espera los comentarios + +y resuélvelos hasta que tu PR sea aprobado. + +### 5. Espera la invitación de Github a tu correo registrado (Si no la recibes, es porque no te hemos aceptado) + +Agregaremos tu usuario de Github a la organización de [corecodeio](https://github.com/corecodeio). +También te agendaremos una reunión de bienvenida para el día 29 de junio. + +### Estás muy cerca de comenzar tu carrera de Software con Core Code. diff --git a/password.txt b/password.txt new file mode 100644 index 0000000..f3651a0 --- /dev/null +++ b/password.txt @@ -0,0 +1 @@ +YwQuIzgsSTyDURgXq9Ot \ No newline at end of file diff --git a/src/client.ts b/src/client.ts index d457504..319fbdf 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,62 +1,41 @@ -const axios = require('axios'); - -const data = { - "contactInfo": { - "fullName": "Saul Lopez", - "emailAddress": "saullopezc@gmail.com" - }, - "github": { - "profileURL": "https://github.com/saullopezc", - "username": "saullopezc" - }, - "credentials": { - "password": "YwQuIzgsSTyDURgXq9Ot" - }, - "personalInfo": { - "questions": [ - { - "question": "If I was a Sr. Programmer, I would like to build:", - "answer": "Paquetes o librerias " - }, - { - "question": "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect", - "answer": "https://es.reactjs.org/docs/hooks-reference.html#useeffect" - }, - { - "question": "code is poetry, because:", - "answer": "Por la expresion y la belleza del codigo" - } - ] - } -}; +import axios from 'axios'; +import data from './data'; +import getPassword from './function/pass' export const createProfile = async () => { - try { - const res = await axios.post('http://95.217.235.69/', data); - console.log(`Status: ${res.status}`); - console.log('Body: ', res.data); - listProfile(); - } catch (err) { - console.error(err); - } + + axios.post('http://95.217.235.69/', data).then( + res => { + console.log(`Status: ${res.status}`); + console.log('Body: ', res.data); + listProfile(); + } + ) + .catch((err) => { + console.error('error ' + err); + }); }; export const listProfile = () => { + + console.log(getPassword()); const URL = "http://95.217.235.69/saullopezc@gmail.com" - /*var myHeaders = new Headers(); - myHeaders.append("Content-Type", "application/json"); - myHeaders.append("x-password", "YwQuIzgsSTyDURgXq9Ot"); - console.log(myHeaders);*/ - axios.get(URL, { - headers: {"x-password": "YwQuIzgsSTyDURgXq9Ot", "Content-Type": "application/json" }}) - .then(response => { - // If request is good... - console.log(response.data); - - }) - .catch((error) => { - console.log('error ' + error); - }); - -}; \ No newline at end of file + axios.get(URL, + { headers: { "x-password": getPassword(), "Content-Type": "application/json" } } + ) + .then(res => { + console.log(res.data); + + }) + .catch((error) => { + console.log('error ' + error); + }); + +}; + +const ejecutar_cliente = () => { + console.log(createProfile()); +}; + +ejecutar_cliente(); \ No newline at end of file diff --git a/src/data/index.ts b/src/data/index.ts new file mode 100644 index 0000000..32a17d4 --- /dev/null +++ b/src/data/index.ts @@ -0,0 +1,33 @@ +import getPassword from './../function/pass'; + +const data = { + "contactInfo": { + "fullName": "Saul Lopez", + "emailAddress": "saullopezc@gmail.com" + }, + "github": { + "profileURL": "https://github.com/saullopezc", + "username": "saullopezc" + }, + "credentials": { + "password": getPassword() + }, + "personalInfo": { + "questions": [ + { + "question": "If I was a Sr. Programmer, I would like to build:", + "answer": "Paquetes o librerias " + }, + { + "question": "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect", + "answer": "https://es.reactjs.org/docs/hooks-reference.html#useeffect" + }, + { + "question": "code is poetry, because:", + "answer": "Por la expresion y la belleza del codigo" + } + ] + } +}; + +export default data; \ No newline at end of file diff --git a/src/function/pass.ts b/src/function/pass.ts new file mode 100644 index 0000000..0ceafa6 --- /dev/null +++ b/src/function/pass.ts @@ -0,0 +1,12 @@ +import LeerArchivo from './readfile'; + +const path = "password.txt" + +const getPassword = () => { + return LeerArchivo(path); +} + +export default getPassword; + + + diff --git a/src/function/readfile.ts b/src/function/readfile.ts new file mode 100644 index 0000000..0800f99 --- /dev/null +++ b/src/function/readfile.ts @@ -0,0 +1,16 @@ +import fs from 'fs'; + +const LeerArchivo = path => { + +const data = "" +fs.readFile(path, 'utf-8', (err, data) => { + if (err) { + console.log("error " + err); + }; + +}); + +return data; +}; + +export default LeerArchivo; \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 9e8c6f8..513b905 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,8 +4,6 @@ import express from "express"; import fs from "fs"; import schema from "./schema.json"; import server from "./server"; -import {listProfile ,createProfile} from "./client"; - export const router = express.Router({ strict: true, @@ -92,9 +90,3 @@ server.post("/", async (req: Request, res: Response) => { server.listen("80", () => { console.log("listening"); }); - -const ejecutar_cliente = () => { -console.log(createProfile()); -}; - -ejecutar_cliente(); From 02e5e281265a6c9939020656a7a11c898827ad78 Mon Sep 17 00:00:00 2001 From: saullopezc Date: Thu, 18 Jun 2020 16:35:17 -0600 Subject: [PATCH 4/7] Cambios en password --- src/client.ts | 17 +++++++++-------- src/data/index.ts | 4 ++-- src/function/pass.ts | 12 ------------ src/function/readfile.ts | 16 ---------------- 4 files changed, 11 insertions(+), 38 deletions(-) delete mode 100644 src/function/pass.ts delete mode 100644 src/function/readfile.ts diff --git a/src/client.ts b/src/client.ts index 319fbdf..9606e98 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,9 +1,11 @@ import axios from 'axios'; import data from './data'; -import getPassword from './function/pass' -export const createProfile = async () => { +async function createProfile(){ + data.credentials.password = process.env.PASSWORD; + data.contactInfo.emailAddress = process.env.EMAIL; + axios.post('http://95.217.235.69/', data).then( res => { console.log(`Status: ${res.status}`); @@ -16,13 +18,12 @@ export const createProfile = async () => { }); }; -export const listProfile = () => { +async function listProfile(){ - console.log(getPassword()); - const URL = "http://95.217.235.69/saullopezc@gmail.com" - axios.get(URL, - { headers: { "x-password": getPassword(), "Content-Type": "application/json" } } + const URL = "http://95.217.235.69/" + axios.get(URL + process.env.EMAIL, + { headers: { "x-password": process.env.PASSWORD, "Content-Type": "application/json" } } ) .then(res => { console.log(res.data); @@ -34,7 +35,7 @@ export const listProfile = () => { }; -const ejecutar_cliente = () => { +export const ejecutar_cliente = () => { console.log(createProfile()); }; diff --git a/src/data/index.ts b/src/data/index.ts index 32a17d4..6bd3687 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -3,14 +3,14 @@ import getPassword from './../function/pass'; const data = { "contactInfo": { "fullName": "Saul Lopez", - "emailAddress": "saullopezc@gmail.com" + "emailAddress": "" }, "github": { "profileURL": "https://github.com/saullopezc", "username": "saullopezc" }, "credentials": { - "password": getPassword() + "password": "" }, "personalInfo": { "questions": [ diff --git a/src/function/pass.ts b/src/function/pass.ts deleted file mode 100644 index 0ceafa6..0000000 --- a/src/function/pass.ts +++ /dev/null @@ -1,12 +0,0 @@ -import LeerArchivo from './readfile'; - -const path = "password.txt" - -const getPassword = () => { - return LeerArchivo(path); -} - -export default getPassword; - - - diff --git a/src/function/readfile.ts b/src/function/readfile.ts deleted file mode 100644 index 0800f99..0000000 --- a/src/function/readfile.ts +++ /dev/null @@ -1,16 +0,0 @@ -import fs from 'fs'; - -const LeerArchivo = path => { - -const data = "" -fs.readFile(path, 'utf-8', (err, data) => { - if (err) { - console.log("error " + err); - }; - -}); - -return data; -}; - -export default LeerArchivo; \ No newline at end of file From 010e50737152ee67c129c911b2b8c9541de9c9cc Mon Sep 17 00:00:00 2001 From: saullopezc Date: Thu, 18 Jun 2020 16:39:18 -0600 Subject: [PATCH 5/7] commit on master -m "Eliminacion de libreria sin uso" --- src/data/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/data/index.ts b/src/data/index.ts index 6bd3687..53926ff 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -1,4 +1,3 @@ -import getPassword from './../function/pass'; const data = { "contactInfo": { From 4fd05a37f5f95147d28066f61a012d7ea05ef257 Mon Sep 17 00:00:00 2001 From: saullopezc Date: Thu, 18 Jun 2020 17:38:51 -0600 Subject: [PATCH 6/7] =?UTF-8?q?Cambio=20de=20nomenclatura=20a=20camelCase,?= =?UTF-8?q?=20eliminacion=20de=20archivo=20con=20contrase=C3=B1a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- password.txt | 1 - src/client.ts | 4 ++-- src/data/index.ts | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 password.txt diff --git a/password.txt b/password.txt deleted file mode 100644 index f3651a0..0000000 --- a/password.txt +++ /dev/null @@ -1 +0,0 @@ -YwQuIzgsSTyDURgXq9Ot \ No newline at end of file diff --git a/src/client.ts b/src/client.ts index 9606e98..42af526 100644 --- a/src/client.ts +++ b/src/client.ts @@ -35,8 +35,8 @@ async function listProfile(){ }; -export const ejecutar_cliente = () => { +export const ejecutarCliente = () => { console.log(createProfile()); }; -ejecutar_cliente(); \ No newline at end of file +ejecutarCliente(); \ No newline at end of file diff --git a/src/data/index.ts b/src/data/index.ts index 53926ff..e3434fa 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -15,15 +15,15 @@ const data = { "questions": [ { "question": "If I was a Sr. Programmer, I would like to build:", - "answer": "Paquetes o librerias " + "answer": "Me gustaría construir software sea una herramienta para muchas personas, me llama mucho la atención la construcción de Blockchain" }, { "question": "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect", - "answer": "https://es.reactjs.org/docs/hooks-reference.html#useeffect" + "answer": "https://es.reactjs.org/docs/hooks-reference.html#useeffect;https://github.com/facebook/react/blob/b34f042e5b6fa30c645b71d38a0b1ecf785af2cc/packages/react/src/ReactHooks.js#L96" }, { "question": "code is poetry, because:", - "answer": "Por la expresion y la belleza del codigo" + "answer": "Por la expresión y la belleza del código" } ] } From 8395df347881ed729a93911637e6c137da8908b8 Mon Sep 17 00:00:00 2001 From: saullopezc Date: Thu, 18 Jun 2020 20:39:41 -0600 Subject: [PATCH 7/7] Prettier --- src/client.ts | 72 ++++++++++++++++++++++------------------------- src/data/index.ts | 60 ++++++++++++++++++++------------------- 2 files changed, 65 insertions(+), 67 deletions(-) diff --git a/src/client.ts b/src/client.ts index 42af526..d536e9d 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,42 +1,38 @@ -import axios from 'axios'; -import data from './data'; - -async function createProfile(){ - - data.credentials.password = process.env.PASSWORD; - data.contactInfo.emailAddress = process.env.EMAIL; - - axios.post('http://95.217.235.69/', data).then( - res => { - console.log(`Status: ${res.status}`); - console.log('Body: ', res.data); - listProfile(); - } - ) - .catch((err) => { - console.error('error ' + err); - }); -}; - -async function listProfile(){ - - - const URL = "http://95.217.235.69/" - axios.get(URL + process.env.EMAIL, - { headers: { "x-password": process.env.PASSWORD, "Content-Type": "application/json" } } - ) - .then(res => { - console.log(res.data); - - }) - .catch((error) => { - console.log('error ' + error); - }); - -}; +import axios from "axios"; +import data from "./data"; + +async function createProfile() { + data.credentials.password = process.env.PASSWORD; + data.contactInfo.emailAddress = process.env.EMAIL; + + axios + .post("http://95.217.235.69/", data) + .then((res) => { + console.log(`Status: ${res.status}`); + console.log("Body: ", res.data); + listProfile(); + }) + .catch((err) => { + console.error("error " + err); + }); +} + +async function listProfile() { + const URL = "http://95.217.235.69/"; + axios + .get(URL + process.env.EMAIL, { + headers: { "x-password": process.env.PASSWORD, "Content-Type": "application/json" }, + }) + .then((res) => { + console.log(res.data); + }) + .catch((error) => { + console.log("error " + error); + }); +} export const ejecutarCliente = () => { - console.log(createProfile()); + console.log(createProfile()); }; -ejecutarCliente(); \ No newline at end of file +ejecutarCliente(); diff --git a/src/data/index.ts b/src/data/index.ts index e3434fa..d98ff94 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -1,32 +1,34 @@ - const data = { - "contactInfo": { - "fullName": "Saul Lopez", - "emailAddress": "" - }, - "github": { - "profileURL": "https://github.com/saullopezc", - "username": "saullopezc" - }, - "credentials": { - "password": "" - }, - "personalInfo": { - "questions": [ - { - "question": "If I was a Sr. Programmer, I would like to build:", - "answer": "Me gustaría construir software sea una herramienta para muchas personas, me llama mucho la atención la construcción de Blockchain" - }, - { - "question": "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect", - "answer": "https://es.reactjs.org/docs/hooks-reference.html#useeffect;https://github.com/facebook/react/blob/b34f042e5b6fa30c645b71d38a0b1ecf785af2cc/packages/react/src/ReactHooks.js#L96" - }, - { - "question": "code is poetry, because:", - "answer": "Por la expresión y la belleza del código" - } - ] - } + contactInfo: { + fullName: "Saul Lopez", + emailAddress: "", + }, + github: { + profileURL: "https://github.com/saullopezc", + username: "saullopezc", + }, + credentials: { + password: "", + }, + personalInfo: { + questions: [ + { + question: "If I was a Sr. Programmer, I would like to build:", + answer: + "Me gustaría construir software sea una herramienta para muchas personas, me llama mucho la atención la construcción de Blockchain", + }, + { + question: + "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect", + answer: + "https://es.reactjs.org/docs/hooks-reference.html#useeffect;https://github.com/facebook/react/blob/b34f042e5b6fa30c645b71d38a0b1ecf785af2cc/packages/react/src/ReactHooks.js#L96", + }, + { + question: "code is poetry, because:", + answer: "Por la expresión y la belleza del código", + }, + ], + }, }; -export default data; \ No newline at end of file +export default data;