This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Con el signo del numeral o gato especificamos un comentario. | |
| # Para ignorar un archivo especifico indicamos el nombre completo del archivo, junto con su extensión: | |
| nombre_del_archivo.txt | |
| nombre_del_archivo.log | |
| nombre_del_archivo.png | |
| # Podemos ignorar archivos por extensión, mediante un asterisco y la extensión de los archivos a ignorar: | |
| *.txt | |
| *.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "directory": "client/lib" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| import gulp from 'gulp'; | |
| import gulpLoadPlugins from 'gulp-load-plugins'; | |
| import browserSync from 'browser-sync'; | |
| const plugins = gulpLoadPlugins(); | |
| const config = { | |
| bootstrapDir: './client/lib/bootstrap-sass', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "presets": ["es2015"] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Node ### | |
| # Logs | |
| logs | |
| *.log | |
| npm-debug.log* | |
| # Runtime data | |
| pids | |
| *.pid | |
| *.seed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| var express = require('./config/lib/express'), | |
| port = process.env.PORT || 8080, | |
| chalk = require('chalk'), | |
| app = express(); | |
| app.listen(port); | |
| console.log(chalk.blue('Server running on port: ' + port)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| var express = require('express'), | |
| morgan = require('morgan'), | |
| compression = require('compression'), | |
| bodyParser = require('body-parser'), | |
| engines = require('consolidate'); | |
| module.exports = function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| exports.renderIndex = function(req, res) { | |
| res.render('index', { | |
| title: 'to Do List App' | |
| }); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| module.exports = function(app) { | |
| var index = require('../controllers/index.server.controller'); | |
| app.get('**', index.renderIndex); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <link href="css/main.min.css" rel="stylesheet" /> | |
| <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> | |
| <meta charset="UTF-8"> | |
| <meta content="ie=edge" http-equiv="x-ua-compatible"> | |
| <title>{{ title }}</title> | |
| <meta name="description" content="To Do List App"> |
OlderNewer