-
Notifications
You must be signed in to change notification settings - Fork 1
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
763c911
commit 5145727
Showing
562 changed files
with
36,793 additions
and
17,329 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,14 @@ | ||
// Necessary to make Jest work with TypeScript | ||
module.exports = { | ||
presets: [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
targets: { | ||
node: "current", | ||
}, | ||
}, | ||
], | ||
"@babel/preset-typescript", | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
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,2 @@ | ||
node_modules | ||
npm-debug.log |
This file was deleted.
Oops, something went wrong.
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,40 +1,56 @@ | ||
# ----------------------------------------------------------------------------- | ||
# App | ||
# ----------------------------------------------------------------------------- | ||
NEXT_PUBLIC_APP_URL=http://localhost:3000 | ||
# Choose any random string for these env variables | ||
# NOTE: In production, make sure they're really long, each unique and unguessable | ||
MAGIC_LINK_SECRET=fake | ||
COOKIE_SECRET=fake | ||
INVITATION_TOKEN_SECRET=fake | ||
API_TOKEN_SECRET=fake | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Authentication (NextAuth.js) | ||
# ----------------------------------------------------------------------------- | ||
NEXTAUTH_URL=http://localhost:3000 | ||
NEXTAUTH_SECRET= | ||
# Get these from the Stripe dashboard | ||
STRIPE_SECRET_API_KEY=fake | ||
STRIPE_PRO_PLAN_PRICE_ID=fake | ||
NEXT_PUBLIC_STRIPE_PUBLIC_API_KEY=fake | ||
|
||
GITHUB_CLIENT_ID= | ||
GITHUB_CLIENT_SECRET= | ||
GITHUB_ACCESS_TOKEN= | ||
# Get the webhook endpoint secret from the Stripe CLI (started when running "docker-compose up") | ||
STRIPE_WEBHOOK_ENDPOINT_SECRET=fake | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Database (MySQL - PlanetScale) | ||
# ----------------------------------------------------------------------------- | ||
DATABASE_URL="mysql://root:root@localhost:3306/taxonomy?schema=public" | ||
# Get this from the Postmark dashboard | ||
POSTMARK_API_TOKEN=fake | ||
# Set this to whatever email you have configured in Postmark | ||
POSTMARK_FROM_EMAIL=[email protected] | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Email (Postmark) | ||
# ----------------------------------------------------------------------------- | ||
POSTMARK_API_TOKEN= | ||
POSTMARK_SIGN_IN_TEMPLATE= | ||
POSTMARK_ACTIVATION_TEMPLATE= | ||
SMTP_HOST=smtp.postmarkapp.com | ||
SMTP_PORT=25 | ||
SMTP_USER= | ||
SMTP_PASSWORD= | ||
SMTP_FROM= | ||
const POSTMARK_SIGN_IN_TEMPLATE= | ||
const POSTMARK_ACTIVATION_TEMPLATE= | ||
# This is the URL for the local database started with "docker-compose up" | ||
# NOTE: Only change this if you do not use docker-compose to run the database locally! | ||
DATABASE_URL='postgres://postgres:BodenseeCrew22!@homeofos-test-postgres.cfan4z5iswzs.eu-central-1.rds.amazonaws.com:5432/homeofos-test-postgres' | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Subscriptions (Stripe) | ||
# ----------------------------------------------------------------------------- | ||
STRIPE_API_KEY= | ||
STRIPE_WEBHOOK_SECRET= | ||
STRIPE_PRO_MONTHLY_PLAN_ID= | ||
# Next Auth Env Variables | ||
NEXTAUTH_URL='test' | ||
# This public url in for the logout redirect to work, should normally be the same as nextauth_url | ||
NEXT_PUBLIC_NEXTAUTH_URL='test' | ||
NEXTAUTH_SECRET='test' | ||
# Github | ||
GITHUB_CLIENT_ID='test' | ||
GITHUB_CLIENT_SECRET='test' | ||
# Gitlab | ||
GITLAB_CLIENT_ID='test' | ||
GITLAB_CLIENT_SECRET='test' | ||
GOOGLE_CLIENT_ID='test' | ||
GOOGLE_CLIENT_SECRET='test' | ||
|
||
# Mail Provider | ||
EMAIL_SERVER=smtp://username:[email protected]:587 | ||
EMAIL_FROM=[email protected] | ||
|
||
# S3 Provider | ||
S3_ACCESS_ID=XXX | ||
S3_ACCESS_KEY=XXX | ||
S3_BUCKET_NAME=zirkular | ||
S3_REGION=eu-central-1 | ||
# Public variables for url creation | ||
NEXT_PUBLIC_S3_BUCKET_NAME=zirkular | ||
NEXT_PUBLIC_S3_REGION=eu-central-1 | ||
#Email Marketing | ||
MAILCHIMP_API_KEY=example | ||
MAILCHIMP_ID=example | ||
# Site tracking | ||
SPLITBEE_TOKEN=example |
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,3 @@ | ||
**/*.generated.* | ||
**/*.graphql.d.ts | ||
**/*.graphqls.d.ts |
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,63 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint", "import", "react-hooks"], | ||
env: { | ||
node: true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:cypress/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
"plugin:import/typescript", | ||
], | ||
rules: { | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
// Disallow imports from src/server/ in src/pages/ except for src/pages/api | ||
// (see the "overrides" section for the exception) | ||
"import/no-restricted-paths": [ | ||
"error", | ||
{ | ||
zones: [ | ||
{ | ||
target: "./src/pages", | ||
from: "./src/server", | ||
}, | ||
], | ||
}, | ||
], | ||
"react-hooks/rules-of-hooks": "error", | ||
"react-hooks/exhaustive-deps": [ | ||
"warn", | ||
{ | ||
additionalHooks: "(useRecoilCallback|useRecoilTransaction_UNSTABLE)", | ||
}, | ||
], | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["next.config.js", "tailwind.config.js"], | ||
rules: { | ||
"@typescript-eslint/no-var-requires": "off", | ||
}, | ||
}, | ||
{ | ||
// Allow imports from src/server/ in src/pages/api | ||
files: ["src/pages/api/**/*"], | ||
rules: { | ||
"import/no-restricted-paths": [ | ||
"error", | ||
{ | ||
zones: [ | ||
{ | ||
target: "./src/pages/api", | ||
from: "./src/client/", | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}, | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
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,40 +1,116 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
|
||
# testing | ||
/coverage | ||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# production | ||
/build | ||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# IDEs and editors | ||
.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
.sass-cache | ||
connect.lock | ||
typings | ||
|
||
# debug | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# vercel | ||
.vercel | ||
# next.js build output | ||
.next | ||
|
||
# Lerna | ||
lerna-debug.log | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
# Generated types | ||
*.generated.ts | ||
*.generated.graphql | ||
|
||
.vscode | ||
.contentlayer | ||
#amplify-do-not-edit-begin | ||
amplify/\#current-cloud-backend | ||
amplify/.config/local-* | ||
amplify/logs | ||
amplify/mock-data | ||
amplify/backend/amplify-meta.json | ||
amplify/backend/.temp | ||
build/ | ||
dist/ | ||
node_modules/ | ||
aws-exports.js | ||
awsconfiguration.json | ||
amplifyconfiguration.json | ||
amplifyconfiguration.dart | ||
amplify-build-config.json | ||
amplify-gradle-config.json | ||
amplifytools.xcconfig | ||
.secret-* | ||
**.sample | ||
#amplify-do-not-edit-end |
This file was deleted.
Oops, something went wrong.
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,4 +1,5 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx pretty-quick --staged | ||
npx --no-install lint-staged | ||
npx --no-install lint-staged |
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,4 @@ | ||
.next | ||
.vscode | ||
amplify | ||
src/server/graphql |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
{ | ||
"files.exclude": { | ||
"amplify/.config": true, | ||
"amplify/**/*-parameters.json": true, | ||
"amplify/**/amplify.state": true, | ||
"amplify/**/transform.conf.json": true, | ||
"amplify/#current-cloud-backend": true, | ||
"amplify/backend/amplify-meta.json": true, | ||
"amplify/backend/awscloudformation": true | ||
} | ||
} |
Oops, something went wrong.