Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
igfeitall committed Sep 19, 2023
1 parent 1b9a7d7 commit d30e009
Show file tree
Hide file tree
Showing 345 changed files with 96,596 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
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
26 changes: 26 additions & 0 deletions .gitignore
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
11 changes: 11 additions & 0 deletions .vscode/settings.json
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
}
}
9 changes: 8 additions & 1 deletion README.md
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*
42 changes: 42 additions & 0 deletions amplify.yml
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/**/*
11 changes: 11 additions & 0 deletions amplify/backend/api/trackflixAPI/parameters.json
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"
]
}
}
2 changes: 2 additions & 0 deletions amplify/backend/api/trackflixAPI/resolvers/README.md
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)
Loading

0 comments on commit d30e009

Please sign in to comment.