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
{ | |
"name": "adonis-api-app", | |
"version": "4.1.0", | |
"adonis-version": "4.1.0", | |
"description": "Adonisjs boilerplate for API server with pre-configured JWT", | |
"main": "index.js", | |
"scripts": { | |
"start": "yarn install && node ace migration:run && node server.js", | |
"dev": "nodemon --inspect server.js", | |
"test": "node ace test --bail --timeout 5000", |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Upload File using jQuery.ajax() with progress support</title> | |
</head> | |
<body> | |
<input type="file" name="file" id="sel-file"/> |
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
{ | |
"above": "The {{field}} should be above {{argument.0}}.", | |
"accepted": "The {{field}} should have been accepted", | |
"after": "The {{field}} should be a date after {{argument.0}}", | |
"after_offset_of": "The {{field}} should be after {{argument.0}} {{argument.1}} from today’s date", | |
"alpha": "The {{field}} should contain letters only", | |
"alpha_numeric": "The {{field}} should contain letters and numbers only", | |
"array": "The {{field}} should be an ARRAY.", | |
"before": "The {{field}} should be a date before {{argument.0}}.", | |
"before_offset_of": "The {{field}} should be before {{argument.0}} {{argument.1}} from today’s date", |
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
{ | |
"above": "The {{field}} should be above {{argument.0}}.", | |
"accepted": "The {{field}} should have been accepted", | |
"after": "The {{field}} should be a date after {{argument.0}}", | |
"after_offset_of": "The {{field}} should be after {{argument.0}} {{argument.1}} from today’s date", | |
"alpha": "The {{field}} should contain letters only", | |
"alpha_numeric": "The {{field}} should contain letters and numbers only", | |
"array": "The {{field}} should be an ARRAY.", | |
"before": "The {{field}} should be a date before {{argument.0}}.", | |
"before_offset_of": "The {{field}} should be before {{argument.0}} {{argument.1}} from today’s date", |
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
{ | |
"above": "The {{field}} should be above {{argument.0}}.", | |
"accepted": "The {{field}} should have been accepted", | |
"after": "The {{field}} should be a date after {{argument.0}}", | |
"after_offset_of": "The {{field}} should be after {{argument.0}} {{argument.1}} from today’s date", | |
"alpha": "The {{field}} should contain letters only", | |
"alpha_numeric": "The {{field}} should contain letters and numbers only", | |
"array": "The {{field}} should be an ARRAY.", | |
"before": "The {{field}} should be a date before {{argument.0}}.", | |
"before_offset_of": "The {{field}} should be before {{argument.0}} {{argument.1}} from today’s date", |
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
{ | |
"above": "{{field}} deve ser acima de {{argument.0}}.", | |
"accepted": "{{field}} deve ter sido aceito", | |
"after": "{{field}} deve ser uma data após {{argument.0}}", | |
"after_offset_of": "{{field}} deve ser mais recente que {{argument.0}} {{argument.1}} a partir da data atual", | |
"alpha": "{{field}} deve conter apenas letras", | |
"alpha_numeric": "{{field}} deve conter apenas letras e números", | |
"array": "{{field}} deve ser um ARRAY.", | |
"before": "{{field}} deve ser uma data anterior a {{argument.0}}.", | |
"before_offset_of": "{{field}} deve ser aterior a {{argument.0}} {{argument.1}} a partir da data de hoje", |
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
# editorconfig.org | |
root = true | |
[*] | |
indent_size = 2 | |
indent_style = space | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = 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
{ | |
"singleQuote": true, | |
"trailingComma": "es5" | |
} |
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
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true | |
}, | |
"extends": ["airbnb-base", "prettier"], | |
"plugins": ["prettier"], | |
"globals": { | |
"use": "readonly", |
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
{ | |
// Controls whether the editor shows CodeLens. | |
"diffEditor.codeLens": false, | |
// When enabled, the diff editor ignores changes in leading or trailing whitespace. | |
"diffEditor.ignoreTrimWhitespace": true, | |
// Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout. | |
"diffEditor.maxComputationTime": 5000, |
NewerOlder