Created
April 9, 2019 22:42
-
-
Save lk321/e95c1138265d045dea7fbcc879ef5261 to your computer and use it in GitHub Desktop.
Revisions
-
lk321 created this gist
Apr 9, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ Realizar proyecto en NodeJS donde muestres si es numero par o impar Detalle: El numero se lo mandaras a través de la URL (Sera una api en NodeJS). donde tendrás que hacer la operación para saber si es numero par o impar mostrando el siguiente mensaje: - El numero "X" es un numero [par | impar] Ejemplo de URL: http://localhost:8080/ejemplo?numero=10 Herramientas: - NodeJS - ExpressJS (https://expressjs.com/es/starter/hello-world.html) Preguntas frecuentes: - ¿Como obtener parametro de la url en nodejs? https://stackoverflow.com/questions/6912584/how-to-get-get-query-string-variables-in-express-js-on-node-js - ¿Como saber si es par o impar? https://stackoverflow.com/questions/6211613/testing-whether-a-value-is-odd-or-even :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :