-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
cd05dfa
commit 2fd81df
Showing
38 changed files
with
9,824 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-object-rest-spread", | ||
"@babel/transform-runtime" | ||
] | ||
} |
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,6 @@ | ||
TEST_DATABASE_URL=test_database_url | ||
DEV_DATABASE_URL=development_database_url | ||
PORT=development_port | ||
SALT_ROUNDS=integer_number | ||
SECRET_KEY=some_hard_secret | ||
API_URL=heroku_api_url |
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 @@ | ||
node_modules |
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,58 @@ | ||
{ | ||
"root": true, | ||
"extends": "airbnb-base", | ||
"env": { | ||
"node": true, | ||
"es6": true, | ||
"mocha": true | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"one-var": 0, | ||
"one-var-declaration-per-line": 0, | ||
"new-cap": 0, | ||
"consistent-return": 0, | ||
"no-param-reassign": 0, | ||
"comma-dangle": 0, | ||
"import/named": 0, | ||
"arrow-parens": 0, | ||
"import/prefer-default-export": 0, | ||
"import/no-unresolved": [ | ||
2, | ||
{ | ||
"commonjs": true | ||
} | ||
], | ||
"no-shadow": [ | ||
"error", | ||
{ | ||
"allow": [ | ||
"req", | ||
"res", | ||
"err" | ||
] | ||
} | ||
], | ||
"valid-jsdoc": [ | ||
"error", | ||
{ | ||
"requireReturn": true, | ||
"requireReturnType": true, | ||
"requireParamDescription": false, | ||
"requireReturnDescription": true | ||
} | ||
], | ||
"require-jsdoc": [ | ||
"error", | ||
{ | ||
"require": { | ||
"FunctionDeclaration": true, | ||
"MethodDefinition": true, | ||
"ClassDeclaration": true | ||
} | ||
} | ||
] | ||
} | ||
} |
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,19 @@ | ||
{ | ||
"require": [ | ||
"@babel/register", | ||
"regenerator-runtime/runtime" | ||
], | ||
"reporter": [ | ||
"html", | ||
"lcov", | ||
"text" | ||
], | ||
"exclude": [ | ||
"src/models/index.js", | ||
"src/database/config.js", | ||
"src/modules/**/tests/*.test.js", | ||
"src/doc/*", | ||
"src/migrations/*", | ||
"src/seeders/*" | ||
] | ||
} |
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 @@ | ||
require('@babel/register') | ||
const path = require('path'); | ||
module.exports = { | ||
"config": path.resolve('./src/database', 'config.js'), | ||
"models-path": path.resolve('./src/models'), | ||
"seeders-path": path.resolve('./src/database/seeders'), | ||
"migrations-path": path.resolve('./src/database/migrations') | ||
}; |
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,24 @@ | ||
sudo: false | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- "stable" | ||
|
||
services: | ||
- postgresql | ||
|
||
notifications: | ||
email: false | ||
|
||
install: | ||
- npm install | ||
|
||
before_script: | ||
- yarn global add nyc | ||
- psql -c 'create database me_test;' -U postgres | ||
- psql -c "CREATE USER shonubijerry WITH PASSWORD null;" -U postgres | ||
|
||
script: | ||
- npm run coveralls | ||
- npm run coverage |
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 @@ | ||
web: npm start |
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,2 +1,8 @@ | ||
[![Build Status](https://travis-ci.com/shonubijerry/mini-expense.svg?branch=develop)](https://travis-ci.com/shonubijerry/mini-expense) | ||
[![Coverage Status](https://coveralls.io/repos/github/shonubijerry/mini-expense/badge.svg?branch=develop)](https://coveralls.io/github/shonubijerry/mini-expense?branch=master) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
|
||
|
||
# mini-expense | ||
|
||
CRUD expense manager |
Oops, something went wrong.