Keybase proof
I hereby claim:
- I am pookdeveloper on github.
- I am pookdeveloper (https://keybase.io/pookdeveloper) on keybase.
- I have a public key ASC18mPD8Y9Lt3Y32z0Gx1wmPIJBIATTU9GHqXwqLQd-Qgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
module.exports = function (Examplemodel) { | |
var app = require('../../server/server'); | |
var seguridad = require('../seguridad/seguridad'); | |
var utilidades = require('../utilidades/utilidades'); | |
// Override the method create for model | |
Examplemodel.once('attached', function () { |
import "reflect-metadata"; | |
import { createConnection, getManager } from "typeorm"; | |
import { resolve } from 'path'; | |
var document: any; | |
const fs = require('fs-extra') // this is no longer necessary | |
const hbs = require('handlebars'); | |
const path = require('path'); |
{ | |
"type": "mysql", | |
"host": "localhost", | |
"port": 3306, | |
"username": "root", | |
"password": "admin", | |
"database": "mydatabase", | |
"synchronize": false, | |
"logging": true, | |
"entities": [ |
module.exports = { | |
"type": "mysql", | |
"host": process.env.HOST_BBDD || "localhost", | |
"port": process.env.PORT_BBDD || 3306, | |
"username": process.env.USER_BBDD || "root", | |
"password": process.env.PASSWORD_BBDD || "admin", | |
"database": process.env.DATABASE_BBDD || "mydatabase", | |
"synchronize": false, |