├── .DS_Store ├── .gitignore ├── README.md ├── backend ├── .DS_Store ├── infrastructure │ ├── ci.yaml │ └── ssm.yaml └── services │ ├── .DS_Store │ ├── .gitignore │ ├── deploy.sh │ ├── mapping-templates │ ├── .DS_Store │ ├── JSONResponse.json │ ├── JSONResponseItems.json │ └── diary │ │ ├── createEvent.json │ │ ├── deleteEvent.json │ │ └── getEvents.json │ ├── package-lock.json │ ├── package.json │ ├── serverless.yml │ └── src │ ├── AppSync │ ├── privateSchema.graphql │ └── publicSchema.graphql │ └── handler.js ├── data ├── .gitignore ├── events.json └── graphql_loader │ ├── .env.example │ ├── .gitignore │ ├── event_loader.js │ ├── package-lock.json │ └── package.json └── frontend ├── .babelrc ├── .env.example ├── .gitignore ├── AppSync.example.js ├── ClientSetup.js ├── Readme.md ├── components ├── error.js ├── header.js ├── layout.js └── loading.js ├── config ├── dev │ └── now.json ├── prod │ └── now.json └── uat │ └── now.json ├── graphql └── daily_diary │ ├── createEvent.js │ ├── deleteEvent.js │ └── getEvents.js ├── lib ├── auth0.js └── user.js ├── next.config.js ├── package-lock.json ├── package.json ├── pages ├── _app.js ├── _document.js ├── about.js ├── advanced │ └── ssr-profile.js ├── api │ ├── callback.js │ ├── login.js │ ├── logout.js │ └── me.js └── index.js ├── semantic.json ├── withData.js └── yarn.lock /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/README.md -------------------------------------------------------------------------------- /backend/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/.DS_Store -------------------------------------------------------------------------------- /backend/infrastructure/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/infrastructure/ci.yaml -------------------------------------------------------------------------------- /backend/infrastructure/ssm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/infrastructure/ssm.yaml -------------------------------------------------------------------------------- /backend/services/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/.DS_Store -------------------------------------------------------------------------------- /backend/services/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/.gitignore -------------------------------------------------------------------------------- /backend/services/deploy.sh: -------------------------------------------------------------------------------- 1 | sls deploy --aws-profile petercatarina 2 | -------------------------------------------------------------------------------- /backend/services/mapping-templates/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/mapping-templates/.DS_Store -------------------------------------------------------------------------------- /backend/services/mapping-templates/JSONResponse.json: -------------------------------------------------------------------------------- 1 | $utils.toJson($context.result) -------------------------------------------------------------------------------- /backend/services/mapping-templates/JSONResponseItems.json: -------------------------------------------------------------------------------- 1 | $util.toJson($context.result.items) -------------------------------------------------------------------------------- /backend/services/mapping-templates/diary/createEvent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/mapping-templates/diary/createEvent.json -------------------------------------------------------------------------------- /backend/services/mapping-templates/diary/deleteEvent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/mapping-templates/diary/deleteEvent.json -------------------------------------------------------------------------------- /backend/services/mapping-templates/diary/getEvents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/mapping-templates/diary/getEvents.json -------------------------------------------------------------------------------- /backend/services/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/package-lock.json -------------------------------------------------------------------------------- /backend/services/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/package.json -------------------------------------------------------------------------------- /backend/services/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/serverless.yml -------------------------------------------------------------------------------- /backend/services/src/AppSync/privateSchema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/src/AppSync/privateSchema.graphql -------------------------------------------------------------------------------- /backend/services/src/AppSync/publicSchema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/src/AppSync/publicSchema.graphql -------------------------------------------------------------------------------- /backend/services/src/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/backend/services/src/handler.js -------------------------------------------------------------------------------- /data/.gitignore: -------------------------------------------------------------------------------- 1 | data_store/ 2 | formatting_scripts/*.json 3 | .env -------------------------------------------------------------------------------- /data/events.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/data/events.json -------------------------------------------------------------------------------- /data/graphql_loader/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/data/graphql_loader/.env.example -------------------------------------------------------------------------------- /data/graphql_loader/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /data/graphql_loader/event_loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/data/graphql_loader/event_loader.js -------------------------------------------------------------------------------- /data/graphql_loader/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/data/graphql_loader/package-lock.json -------------------------------------------------------------------------------- /data/graphql_loader/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/data/graphql_loader/package.json -------------------------------------------------------------------------------- /frontend/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/.babelrc -------------------------------------------------------------------------------- /frontend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/.env.example -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | .next 4 | AppSync.js 5 | .semantic/* 6 | -------------------------------------------------------------------------------- /frontend/AppSync.example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/AppSync.example.js -------------------------------------------------------------------------------- /frontend/ClientSetup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/ClientSetup.js -------------------------------------------------------------------------------- /frontend/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/Readme.md -------------------------------------------------------------------------------- /frontend/components/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/components/error.js -------------------------------------------------------------------------------- /frontend/components/header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/components/header.js -------------------------------------------------------------------------------- /frontend/components/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/components/layout.js -------------------------------------------------------------------------------- /frontend/components/loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/components/loading.js -------------------------------------------------------------------------------- /frontend/config/dev/now.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/config/dev/now.json -------------------------------------------------------------------------------- /frontend/config/prod/now.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/config/prod/now.json -------------------------------------------------------------------------------- /frontend/config/uat/now.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/config/uat/now.json -------------------------------------------------------------------------------- /frontend/graphql/daily_diary/createEvent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/graphql/daily_diary/createEvent.js -------------------------------------------------------------------------------- /frontend/graphql/daily_diary/deleteEvent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/graphql/daily_diary/deleteEvent.js -------------------------------------------------------------------------------- /frontend/graphql/daily_diary/getEvents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/graphql/daily_diary/getEvents.js -------------------------------------------------------------------------------- /frontend/lib/auth0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/lib/auth0.js -------------------------------------------------------------------------------- /frontend/lib/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/lib/user.js -------------------------------------------------------------------------------- /frontend/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/next.config.js -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/_app.js -------------------------------------------------------------------------------- /frontend/pages/_document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/_document.js -------------------------------------------------------------------------------- /frontend/pages/about.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/about.js -------------------------------------------------------------------------------- /frontend/pages/advanced/ssr-profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/advanced/ssr-profile.js -------------------------------------------------------------------------------- /frontend/pages/api/callback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/api/callback.js -------------------------------------------------------------------------------- /frontend/pages/api/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/api/login.js -------------------------------------------------------------------------------- /frontend/pages/api/logout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/api/logout.js -------------------------------------------------------------------------------- /frontend/pages/api/me.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/api/me.js -------------------------------------------------------------------------------- /frontend/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/pages/index.js -------------------------------------------------------------------------------- /frontend/semantic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/semantic.json -------------------------------------------------------------------------------- /frontend/withData.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/withData.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/petehanssens/appsync-react-hooks/HEAD/frontend/yarn.lock --------------------------------------------------------------------------------