commit 067996357a60e24c2a4e8da5df3d5114b6b8b53b Author: Simon Date: Mon Apr 20 18:40:28 2020 +0200 Inital commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1a52be3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,47 @@ +kind: pipeline +name: default + +steps: +- name: install + image: node:13.13 + commands: + - npm --prefix ./server install ./server + +- name: test + image: node:13.13 + commands: + - npm --prefix ./server run test + +- name: lint + image: node:13.13 + commands: + - npm --prefix ./server run lint + +- name: build + image: node:13.13 + commands: + - npm --prefix ./server run build + when: + event: + - push + - tag + - deployment + +- name: deploy + image: plugins/docker + settings: + registry: registry.cliffbreak.de + repo: registry.cliffbreak.de/landingpage + username: + from_secret: docker_username + password: + from_secret: docker_password + when: + event: + - push + - tag + - deployment + +trigger: + branch: + - master \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57783f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,113 @@ +# ---> Node +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# Next.js build output +.next + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +## Custom direcotries +dist/ +mongo/ +webapp/assets/ diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..e98d5dd --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "dbaeumer.vscode-eslint", + "sibiraj-s.vscode-scss-formatter", + "mikestead.dotenv", + "streetsidesoftware.code-spell-checker", + "streetsidesoftware.code-spell-checker-german", + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d247473 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,27 @@ +{ + "editor.formatOnSave": true, + "eslint.workingDirectories": [ + "./server", + "./webapp" + ], + "eslint.format.enable": true, + "cSpell.language": "de,en,de-DE,en-US", + "cSpell.words": [ + "Cliffbreak", + "Fastify", + "Giesel", + "Roboto", + "browserconfig", + "camelcase", + "cliffbreakmeet", + "dbpath", + "favicon", + "ijmap", + "mkdir", + "mongod", + "msapplication", + "nestjs", + "playsinline", + "uglifycss" + ], +} \ No newline at end of file diff --git a/COMMIT_CONVENTION.md b/COMMIT_CONVENTION.md new file mode 100644 index 0000000..f49a4f1 --- /dev/null +++ b/COMMIT_CONVENTION.md @@ -0,0 +1,78 @@ +### Commit Message Format + +Each commit message consists of a **header**, a **body** and a **footer**. The header has a special +format that includes a **type**, a **scope** and a **subject**: + +``` +(): + + + +