-
Notifications
You must be signed in to change notification settings - Fork 4
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
55 changed files
with
10,278 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,10 @@ | ||
POSTGRES_PORT=5432 | ||
HASURA_PORT=8002 | ||
|
||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
|
||
HASURA_SECRET=mysecret | ||
HASURA_ENABLE_CONSOLE=true | ||
HASURA_DATABASE=postgres | ||
HASURA_WEBHOOK=auth/webhook |
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,12 @@ | ||
.PHONY: install dev | ||
|
||
install: | ||
curl -L https://github.com/hasura/graphql-engine/raw/master/cli/get.sh | bash | ||
npm -g install yarn | ||
npm -g install quasar | ||
cd client && yarn && cd .. | ||
|
||
docker: | ||
docker-compose up | ||
client: | ||
cd client && quasar dev && cd .. |
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 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = 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 @@ | ||
/dist |
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,55 @@ | ||
module.exports = { | ||
root: true, | ||
|
||
parserOptions: { | ||
parser: 'babel-eslint', | ||
sourceType: 'module' | ||
}, | ||
|
||
env: { | ||
browser: true | ||
}, | ||
|
||
extends: [ | ||
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention | ||
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. | ||
'plugin:vue/essential', | ||
'@vue/standard' | ||
], | ||
|
||
// required to lint *.vue files | ||
plugins: [ | ||
'vue' | ||
], | ||
|
||
globals: { | ||
'ga': true, // Google Analytics | ||
'cordova': true, | ||
'__statics': true, | ||
'process': true, | ||
'Capacitor': true, | ||
'chrome': true | ||
}, | ||
|
||
// add your custom rules here | ||
rules: { | ||
// allow async-await | ||
'generator-star-spacing': 'off', | ||
// allow paren-less arrow functions | ||
'arrow-parens': 'off', | ||
'one-var': 'off', | ||
|
||
'import/first': 'off', | ||
'import/named': 'error', | ||
'import/namespace': 'error', | ||
'import/default': 'error', | ||
'import/export': 'error', | ||
'import/extensions': 'off', | ||
'import/no-unresolved': 'off', | ||
'import/no-extraneous-dependencies': 'off', | ||
'prefer-promise-reject-errors': 'off', | ||
|
||
// allow debugger during development only | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : '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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.quasar | ||
.DS_Store | ||
.thumbs.db | ||
node_modules | ||
/dist | ||
/src-cordova/node_modules | ||
/src-cordova/platforms | ||
/src-cordova/plugins | ||
/src-cordova/www | ||
/src-bex/www | ||
/src-bex/js/core | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln |
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 @@ | ||
// https://github.com/michael-ciniawsky/postcss-load-config | ||
|
||
module.exports = { | ||
plugins: [ | ||
// to edit target browsers: use "browserslist" field in package.json | ||
require('autoprefixer') | ||
] | ||
} |
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,35 @@ | ||
{ | ||
"blocks": "never", | ||
"brackets": "never", | ||
"colons": "never", | ||
"colors": "always", | ||
"commaSpace": "always", | ||
"commentSpace": "always", | ||
"cssLiteral": "never", | ||
"depthLimit": false, | ||
"duplicates": true, | ||
"efficient": "always", | ||
"extendPref": false, | ||
"globalDupe": true, | ||
"indentPref": 2, | ||
"leadingZero": "never", | ||
"maxErrors": false, | ||
"maxWarnings": false, | ||
"mixed": false, | ||
"namingConvention": false, | ||
"namingConventionStrict": false, | ||
"none": "never", | ||
"noImportant": false, | ||
"parenSpace": "never", | ||
"placeholder": false, | ||
"prefixVarsWithDollar": "always", | ||
"quotePref": "single", | ||
"semicolons": "never", | ||
"sortOrder": false, | ||
"stackedProperties": "never", | ||
"trailingWhitespace": "never", | ||
"universal": "never", | ||
"valid": true, | ||
"zeroUnits": "never", | ||
"zIndexNormalize": false | ||
} |
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,26 @@ | ||
# PACE (client) | ||
|
||
A Quasar Framework app | ||
|
||
## Install the dependencies | ||
```bash | ||
yarn | ||
``` | ||
|
||
### Start the app in development mode (hot-code reloading, error reporting, etc.) | ||
```bash | ||
quasar dev | ||
``` | ||
|
||
### Lint the files | ||
```bash | ||
yarn run lint | ||
``` | ||
|
||
### Build the app for production | ||
```bash | ||
quasar build | ||
``` | ||
|
||
### Customize the configuration | ||
See [Configuring quasar.conf.js](https://quasar.dev/quasar-cli/quasar-conf-js). |
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 @@ | ||
module.exports = { | ||
presets: [ | ||
'@quasar/babel-preset-app' | ||
] | ||
} |
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,38 @@ | ||
{ | ||
"name": "client", | ||
"version": "0.0.1", | ||
"description": "A Quasar Framework app", | ||
"productName": "PACE", | ||
"cordovaId": "org.cordova.quasar.app", | ||
"capacitorId": "", | ||
"author": "Jeffrey Spies <[email protected]>", | ||
"private": true, | ||
"scripts": { | ||
"lint": "eslint --ext .js,.vue src", | ||
"test": "echo \"No test specified\" && exit 0" | ||
}, | ||
"dependencies": { | ||
"@quasar/extras": "^1.0.0", | ||
"axios": "^0.18.1", | ||
"graphql-tag": "^2.10.1", | ||
"node-fetch": "^2.6.0", | ||
"quasar": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@quasar/app": "^1.0.0", | ||
"@quasar/quasar-app-extension-graphql": "^1.0.0-alpha.1", | ||
"@vue/eslint-config-standard": "^4.0.0", | ||
"babel-eslint": "^10.0.1", | ||
"eslint": "^5.10.0", | ||
"eslint-loader": "^2.1.1", | ||
"eslint-plugin-vue": "^5.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8.9.0", | ||
"npm": ">= 5.6.0", | ||
"yarn": ">= 1.6.0" | ||
}, | ||
"browserslist": [ | ||
"last 1 version, not dead, ie >= 11" | ||
] | ||
} |
Oops, something went wrong.