-
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
7,039 additions
and
219 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": ["stage-0"] | ||
"presets": [] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SOME_ENV_ID=abc | ||
MONGODB_URL=mongodb://mongo:27017/my_app_dev |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
.vscode | ||
.git | ||
public | ||
data |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,15 @@ | ||
{ | ||
"extends": "eslint:recommended", | ||
"extends": ["eslint:recommended", "plugin:prettier/recommended"], | ||
"env": { | ||
"browser": false, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parser": "babel-eslint", | ||
"rules": { | ||
"object-curly-spacing": [2, "always"], | ||
"strict": 0, | ||
"quotes": [2, "single", "avoid-escape"], | ||
"semi": [2, "always"], | ||
"space-before-function-paren": [2, "always"], | ||
"keyword-spacing": [2, {"before": true, "after": true}], | ||
"space-infix-ops": 2, | ||
"spaced-comment": [2, "always"], | ||
"arrow-spacing": 2, | ||
"no-console": 0 | ||
}, | ||
"globals": { | ||
"prettier/prettier": ["error", { | ||
"singleQuote": true | ||
}], | ||
"no-console": "off" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
node_modules | ||
npm-debug.log | ||
.env | ||
data | ||
.vscode |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ services: | |
- mongodb | ||
language: node_js | ||
node_js: | ||
- "6.0.0" | ||
- "6.1.0" | ||
- "10.11.0" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
extends layouts/default.jade | ||
extends layouts/default.pug | ||
|
||
block main | ||
h2 404 - Not found |
This file contains 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
This file contains 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
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
head | ||
meta(charset="utf-8") | ||
meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1") | ||
meta(name="viewport", content="width=device-width,initial-scale=1") | ||
|
||
if title | ||
title= title | ||
else | ||
title= pkg.name | ||
|
||
meta(name="description", content=pkg.description) | ||
|
||
link(rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' integrity='sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T' crossorigin='anonymous') | ||
link(rel="stylesheet" href="/css/app.css") |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
nav.navbar.navbar-expand-md.navbar-dark.fixed-top.bg-dark | ||
a.navbar-brand(href='/') Your App | ||
button.navbar-toggler(type='button' data-toggle='collapse' data-target='#navbarCollapse' aria-controls='navbarCollapse' aria-expanded='false' aria-label='Toggle navigation') | ||
span.navbar-toggler-icon | ||
#navbarCollapse.collapse.navbar-collapse | ||
ul.navbar-nav.mr-auto | ||
li(class=isActive('/') ? 'active nav-item' : 'nav-item') | ||
a.nav-link(href="/" title="Home") Home |
10 changes: 5 additions & 5 deletions
10
app/views/includes/messages.jade → app/views/includes/messages.pug
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
if info && info.length | ||
div(class='fade in alert alert-info') | ||
.fade.show.alert.alert-info | ||
button(class='close' type='button' data-dismiss='alert') × | ||
ul | ||
for inf in info | ||
li #{ inf } | ||
|
||
if errors && errors.length | ||
div(class='fade in alert alert-danger') | ||
.fade.show.alert.alert-danger | ||
button(class='close' type='button' data-dismiss='alert') × | ||
ul | ||
for error in errors | ||
li #{ error } | ||
|
||
if success && success.length | ||
div(class='fade in alert alert-success') | ||
.fade.show.alert.alert-success | ||
button(class ='close' type='button' data-dismiss='alert') × | ||
ul | ||
for succ in success | ||
li #{ succ } | ||
|
||
if warning && warning.length | ||
div(class='fade in alert alert-warning') | ||
.fade.show.alert.alert-warning | ||
button(class='close' type='button' data-dismiss='alert') × | ||
ul | ||
for warn in warning | ||
li #{ warn } | ||
li #{ warn } |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
doctype html | ||
html(lang="en") | ||
include ../includes/head.pug | ||
body | ||
include ../includes/header.pug | ||
.container | ||
.page-header | ||
block page-header | ||
.messages | ||
include ../includes/messages.pug | ||
.content | ||
block content | ||
include ../includes/footer.pug | ||
include ../includes/foot.pug |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.