Skip to content

Commit f31cb84

Browse files
committed
init
0 parents  commit f31cb84

File tree

131 files changed

+20419
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+20419
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
api/node_modules/
3+
frontend/node_modules/
4+
packages/*/node_modules/
5+
packages/*/dist/

.eslintrc.js

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
es6: true,
5+
es2022: true,
6+
node: true,
7+
},
8+
parserOptions: {
9+
ecmaVersion: 2022,
10+
},
11+
rules: {
12+
'no-console': ['error', { allow: ['error', 'warn'] }],
13+
},
14+
overrides: [
15+
{
16+
files: ['api/**/*'],
17+
settings: {
18+
'import/resolver': {
19+
node: true,
20+
},
21+
},
22+
},
23+
{
24+
files: ['**/*.vue'],
25+
parser: 'vue-eslint-parser',
26+
parserOptions: {
27+
parser: '@typescript-eslint/parser',
28+
},
29+
extends: [
30+
'eslint:recommended',
31+
'plugin:@typescript-eslint/recommended',
32+
'plugin:vue/vue3-recommended',
33+
'plugin:prettier/recommended',
34+
],
35+
rules: {
36+
'vue/component-name-in-template-casing': 'warn',
37+
'vue/match-component-file-name': [
38+
'warn',
39+
{
40+
extensions: ['vue'],
41+
},
42+
],
43+
'vue/no-static-inline-styles': 'warn',
44+
'vue/no-template-target-blank': 'warn',
45+
'vue/no-potential-component-option-typo': 'warn',
46+
'vue/multi-word-component-names': 'off',
47+
'vue/require-default-prop': 'off', // Durch typescript ist das immer ersichtlich, dass es undefined sein kann.
48+
'vue/no-ref-object-destructure': 'error',
49+
'vue/no-undef-components': ['error', { ignorePatterns: ['ValidationProvider', 'router-link', 'router-view'] }],
50+
'vue/no-unused-refs': 'error',
51+
'vue/no-useless-mustaches': 'error',
52+
'vue/no-useless-v-bind': 'error',
53+
'vue/v-on-function-call': 'error',
54+
'vue/no-unused-properties': ['error', { groups: ['props', 'data', 'computed', 'methods', 'setup'] }],
55+
'vue/html-button-has-type': 'error',
56+
},
57+
},
58+
{
59+
files: ['**/*.ts'],
60+
plugins: ['@typescript-eslint'],
61+
parser: '@typescript-eslint/parser',
62+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
63+
settings: {
64+
'import/parsers': {
65+
'@typescript-eslint/parser': ['.ts', '.tsx'],
66+
},
67+
'import/resolver': {
68+
typescript: true,
69+
},
70+
},
71+
rules: {
72+
'@typescript-eslint/no-explicit-any': 'off',
73+
'@typescript-eslint/no-empty-interface': 'off',
74+
'@typescript-eslint/no-non-null-assertion': 'off',
75+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
76+
'@typescript-eslint/no-unused-vars': [
77+
'error',
78+
{ argsIgnorePattern: '^_', destructuredArrayIgnorePattern: '^_' },
79+
],
80+
},
81+
},
82+
{
83+
files: ['**/*.js'],
84+
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
85+
rules: {
86+
'no-unused-vars': 'off',
87+
},
88+
},
89+
{
90+
files: ['frontend/**/*'],
91+
env: {
92+
browser: true,
93+
},
94+
},
95+
{
96+
files: ['frontend/**/*'],
97+
parserOptions: {
98+
sourceType: 'module',
99+
},
100+
},
101+
{
102+
files: ['api/test/**/*.js'],
103+
env: {
104+
mocha: true,
105+
},
106+
},
107+
],
108+
}

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.gitignore

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
2+
# Created by https://www.gitignore.io/api/node
3+
4+
### Node ###
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
24+
# nyc test coverage
25+
.nyc_output
26+
27+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
28+
.grunt
29+
30+
# Bower dependency directory (https://bower.io/)
31+
bower_components
32+
33+
# node-waf configuration
34+
.lock-wscript
35+
36+
# Compiled binary addons (https://nodejs.org/api/addons.html)
37+
build/Release
38+
39+
# Dependency directories
40+
node_modules/
41+
jspm_packages/
42+
43+
# TypeScript v1 declaration files
44+
typings/
45+
46+
# Optional npm cache directory
47+
.npm
48+
49+
# Optional eslint cache
50+
.eslintcache
51+
52+
# Optional REPL history
53+
.node_repl_history
54+
55+
# Output of 'npm pack'
56+
*.tgz
57+
58+
# Yarn Integrity file
59+
.yarn-integrity
60+
61+
# dotenv environment variables file
62+
.env
63+
64+
# parcel-bundler cache (https://parceljs.org/)
65+
.cache
66+
67+
# next.js build output
68+
.next
69+
70+
# nuxt.js build output
71+
.nuxt
72+
73+
# vuepress build output
74+
.vuepress/dist
75+
76+
# Serverless directories
77+
.serverless
78+
79+
80+
# End of https://www.gitignore.io/api/node
81+
82+
# Editor directories and files
83+
.idea
84+
*.suo
85+
*.ntvs*
86+
*.njsproj
87+
*.sln
88+
*.sw*
89+
reports
90+
api/tsconfig.tsbuildinfo

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint-staged

.lintstagedrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
"*.{js,ts,vue}": ["eslint --cache"]
3+
}

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"tabWidth": 2,
3+
"useTabs": false,
4+
"semi": false,
5+
"singleQuote": true,
6+
"trailingComma": "es5",
7+
"bracketSpacing": true,
8+
"bracketSameLine": false,
9+
"printWidth": 120,
10+
"singleAttributePerLine": true
11+
}

.vscode/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"eslint.workingDirectories": [
3+
"./frontend",
4+
"./api"
5+
],
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll.eslint": true,
8+
},
9+
"editor.tabSize": 2,
10+
"files.trimTrailingWhitespace": true,
11+
"files.trimFinalNewlines": true,
12+
"files.insertFinalNewline": true,
13+
"volar.completion.preferredTagNameCase": "pascal"
14+
}

api/.npmignore

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Microbundle cache
58+
.rpt2_cache/
59+
.rts2_cache_cjs/
60+
.rts2_cache_es/
61+
.rts2_cache_umd/
62+
63+
# Optional REPL history
64+
.node_repl_history
65+
66+
# Output of 'npm pack'
67+
*.tgz
68+
69+
# Yarn Integrity file
70+
.yarn-integrity
71+
72+
# dotenv environment variables file
73+
.env
74+
.env.test
75+
.env.production
76+
77+
# parcel-bundler cache (https://parceljs.org/)
78+
.cache
79+
.parcel-cache
80+
81+
# Next.js build output
82+
.next
83+
out
84+
85+
# Nuxt.js build / generate output
86+
.nuxt
87+
dist
88+
89+
# Gatsby files
90+
.cache/
91+
# Comment in the public line in if your project uses Gatsby and not Next.js
92+
# https://nextjs.org/blog/next-9-1#public-directory-support
93+
# public
94+
95+
# vuepress build output
96+
.vuepress/dist
97+
98+
# Serverless directories
99+
.serverless/
100+
101+
# FuseBox cache
102+
.fusebox/
103+
104+
# DynamoDB Local files
105+
.dynamodb/
106+
107+
# TernJS port file
108+
.tern-port
109+
110+
# Stores VSCode versions used for testing VSCode extensions
111+
.vscode-test
112+
113+
# yarn v2
114+
.yarn/cache
115+
.yarn/unplugged
116+
.yarn/build-state.yml
117+
.yarn/install-state.gz
118+
.pnp.*
119+
.sqlite
120+
121+
lib/

0 commit comments

Comments
 (0)