-
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
Showing
345 changed files
with
96,596 additions
and
1 deletion.
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,31 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- "apps/trackflix/**" | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths: | ||
- "apps/trackflix/**" | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [10.x, 12.x] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install dependencies | ||
working-directory: ./apps/trackflix | ||
run: npm install | ||
- name: eslint | ||
working-directory: ./apps/trackflix | ||
run: npm run lint |
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 @@ | ||
.cache/ | ||
.idea | ||
.DS_Store | ||
scripts/ | ||
|
||
#amplify-do-not-edit-begin | ||
amplify/\#current-cloud-backend | ||
amplify/.config/local-* | ||
amplify/logs | ||
amplify/mock-data | ||
amplify/backend/amplify-meta.json | ||
amplify/backend/awscloudformation | ||
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 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 | ||
} | ||
} |
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 +1,8 @@ | ||
# trackflix-client | ||
## Project architecture | ||
|
||
This repository contains a two applications, this is a monorepo. | ||
|
||
- Community website is located in `apps/trackflix` | ||
- Documentation website is located in `apps/documentation` | ||
|
||
*You'll find related documentation for both applications inside their respective directories* |
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,42 @@ | ||
version: 1 | ||
applications: | ||
- appRoot: apps/trackflix | ||
backend: | ||
phases: | ||
build: | ||
commands: | ||
- npm i -S graphql-ttl-transformer aws-sdk | ||
- "# Execute Amplify CLI with the helper script" | ||
- amplifyPush --simple | ||
frontend: | ||
phases: | ||
preBuild: | ||
commands: | ||
- npm install | ||
build: | ||
commands: | ||
- npm run build | ||
artifacts: | ||
baseDirectory: public | ||
files: | ||
- "**/*" | ||
cache: | ||
paths: | ||
- node_modules/**/* | ||
|
||
- appRoot: apps/documentation | ||
frontend: | ||
phases: | ||
preBuild: | ||
commands: | ||
- yarn install | ||
build: | ||
commands: | ||
- yarn run build | ||
artifacts: | ||
baseDirectory: build | ||
files: | ||
- "**/*" | ||
cache: | ||
paths: | ||
- node_modules/**/* |
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 @@ | ||
{ | ||
"AppSyncApiName": "trackflixAPI", | ||
"DynamoDBBillingMode": "PAY_PER_REQUEST", | ||
"DynamoDBEnableServerSideEncryption": false, | ||
"AuthCognitoUserPoolId": { | ||
"Fn::GetAtt": [ | ||
"authtrackflixaa182671", | ||
"Outputs.UserPoolId" | ||
] | ||
} | ||
} |
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 @@ | ||
Any resolvers that you add in this directory will override the ones automatically generated by Amplify CLI and will be directly copied to the cloud. | ||
For more information, visit [https://docs.amplify.aws/cli/graphql-transformer/resolvers](https://docs.amplify.aws/cli/graphql-transformer/resolvers) |
Oops, something went wrong.