Desde su v1.0, Deno se ha convertido en una palabra de moda para los desarrolladores de Javascript/Typecript/Node.js. Entremos en esta tecnología creando una Rest API segura usando JWT.
⚠️ Es preferible tener algunos conceptos básicos en Node y su ecosistema (Express, Nodemon, Sequelize, etc.) para seguir este tutorial.
Laravel 5 does not limit the number of sessions a user may have open, so the web application may be open in several browsers of several computers.
In a project in which I am participating we need that the user can only have an active session, so if it is authenticated in a browser, the rest of sessions have to disappear, so the user can not use the web application in the other browsers, except in the last one. The example is developed with Laravel 5.4.
The first thing I will do is add a new migration to add a text field to the «users» table, where I will store the id of the active session.
$ php artisan make:migration add_session_id_to_users_table --table=users
{ | |
"name": "intelguasoft/generators", | |
"description": "Generate numbers in a specific way according to the needs of the user.", | |
"keywords": [ | |
"generators", | |
"lotto", | |
"lottery", | |
"generate", | |
"random", | |
"aleatorio" |
<?php | |
/** | |
* Clase para la generación de números aleatorios de manera | |
* personalizada por medio de argumentos. | |
* | |
* @package IntelGUA | |
* @subpackage Generators | |
* @author Henry Díaz <[email protected]> | |
*/ |
# What is the right way of production deployment of nestjs application | |
Own server | |
1) Checkout your project's repository on your server and run npm install. | |
2) Run npm run build which compiles your project to javascript: | |
rimraf dist && tsc -p tsconfig.build.json | |
3) Start your application with: |
Entonces, está desarrollando una aplicación móvil y se da cuenta de que necesita una forma de comunicarse con sus usuarios de una manera rápida y rentable. En este punto, estoy seguro de que has pensado en las notificaciones push. Ahí es donde entra Firebase Cloud Messaging (FCM).
Firebase Cloud Messaging (FCM) proporciona una conexión confiable y eficiente de la batería entre su servidor y dispositivos que le permite entregar y recibir mensajes y notificaciones en iOS, Android y la web sin costo alguno. Puedes leer más sobre esto aquí.
Ahora que hemos terminado con la introducción, vamos a sumergirnos en todo este vergueo.
Primero, debe iniciar sesión con su cuenta de Google en firebase. Luego haga clic en el enlace "Ir a la consola" que se encuentra junto al avatar de su cuenta y será redirigido a la consola del tablero de instrumentos, donde
Important: If you have any local changes, they will be lost. With or without --hard option, any local commits that haven't been pushed will be lost.[*] If you have any files that are not tracked by Git (e.g. uploaded user content), these files will not be affected.
I think this is the right way:
git fetch --all Then, you have two options:
git reset --hard origin/master OR If you are on some other branch:
-------------
/\\\\\\_/\\/\\/\\\\_ _/\/////////\_/\\\/\\\/\///////\_ /\_/\_/\//\_/\//\_/////\_ _/\\\\\\//\\///\/\//\_/\/ /\//////////\_///\//\_/\//_____ /\_/\_////\_____/\//_____ /\_/\_/\_/\/__________