Skip to content

Instantly share code, notes, and snippets.

View brenooandrade's full-sized avatar
🎯
Focusing

Breno Andrade brenooandrade

🎯
Focusing
  • Brazil
View GitHub Profile
{
"destino": "[email protected]",
"assunto": "Teste de Email",
"conteudo": "Este é um teste!",
"remetente": "[email protected]",
"listaCC": [
"[email protected]"
]
}
@brenooandrade
brenooandrade / .js
Created December 20, 2020 05:27
myKnextify API
/* ## MAPEAMENTO DE ROTAS PARA CRUDS DE TABELAS CONFORME NECESSIDADE ## */
//CRUD tabela aluguel
CRUD = require('../routes/CRUD');
CRUD(server, knex, errs, comum, 'aluguel', 'aluguel_id');
//CRUD tabela ator
CRUD = require('../routes/CRUD');
CRUD(server, knex, errs, comum, 'ator', 'ator_id');