Vertaling van "server.js" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Podemos importar el pasaporte en este script o pasarlo desde server.js.
We can import passport in this script or pass it from server.js.
Agregue esta línea al archivo de inicio principal, server.js.
Add this line to the main start file, server.js.
A continuación, agregamos las siguientes líneas en nuestro archivo server.js.
Next, we add the following lines in our server.js file.
Crear un archivo llamado server.js en la raíz del directorio.
Create a file named server.js in the root directory.
Tiene sentido también que pongamos nuestro módulo de servidor en un archivo llamado server.js.
It makes sense to put our server module into a file named server.js.
En el desarrollo, la aplicación se inicia simplemente desde la línea de mandatos con node server.js o algo similar.
In development, you started your app simply from the command line with node server.js or something similar.
Luego lo importamos en el archivo del servidor principal, server.js, justo debajo de las otras importaciones.
Then we import it in the main server file, server.js, just below the other imports.
Dentro del archivo server.js, pegamos lo siguiente
Inside the server.js file, we paste the following
Modifiquemos nuestro server.js para hacer uso de este
Let's change our server.js to make use of it
Ejecuta este comando en el directorio del archivo server.js
Run the following command in the directory of the server.js file
Iniciamos por crear una carpeta para el proyecto y dentro creamos un archivo nombrado server.js el cual contendrá el servidor.
In the previous post we created a server.js file to display "hello world" on the screen.
Para probar en su computadora, ejecute esto desde el interior de su carpeta de proyectos: node server.js
To test on your computer, run this from inside your project folder: node server.js
En el módulo donde arrancamos el servidor, típicamente el fichero server.js importamos las librerías y creamos un namespace de la librería express-http-context, el cual utilizaremos para almacenar los identificadores de las peticiones
In the module where we start the server, typically the file server.js we import the libraries and create a namespace of the library express-http-context, which we will use to store the identifiers of the requests