Carpetas renombradas, plantillas configuración
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "MailServer",
|
||||
"version": "1.0.0",
|
||||
"port": 3003,
|
||||
"debug": true,
|
||||
"defaultLanguage": "es",
|
||||
"senderMail": "noreply@localhost",
|
||||
"senderName": ""
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"host": "localhost",
|
||||
"port": 3306,
|
||||
"user": "reports",
|
||||
"password": "",
|
||||
"database": ""
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"host": "localhost",
|
||||
"port": 465,
|
||||
"secure": true,
|
||||
"auth": {
|
||||
"user": "noreply",
|
||||
"pass": ""
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "MailServer",
|
||||
"name": "mailer",
|
||||
"version": "0.0.1",
|
||||
"description": "Servidor de envío de correos",
|
||||
"main": "server.js",
|
||||
|
|
|
@ -4,16 +4,16 @@
|
|||
var express = require('express');
|
||||
var app = module.exports = express();
|
||||
var bodyParser = require('body-parser');
|
||||
var settings = require('./Application/settings.js');
|
||||
var mail = require('./Application/mail.js');
|
||||
var database = require('./Application/database.js');
|
||||
var settings = require('./application/settings.js');
|
||||
var mail = require('./application/mail.js');
|
||||
var database = require('./application/database.js');
|
||||
|
||||
// Middleware
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.urlencoded({extended: true}));
|
||||
|
||||
// Cargar rutas
|
||||
app.use('/', require('./Application/router.js'));
|
||||
app.use('/', require('./application/router.js'));
|
||||
|
||||
// Iniciar escucha del servidor
|
||||
app.start = function() {
|
||||
|
|