├── .gitignore ├── README.md ├── frontend ├── .env ├── .gitignore ├── README.md ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json ├── src │ ├── App.css │ ├── App.js │ ├── App.test.js │ ├── Graphql │ │ ├── FragementPost.js │ │ ├── MutationAddPost.js │ │ ├── MutationDeletePost.js │ │ ├── QueryPosts.js │ │ ├── QuerymyAccount.js │ │ ├── SubscribeToAddPost.js │ │ └── SubscribeToDeletePost.js │ ├── assets │ │ ├── components │ │ │ ├── AddPostModal.js │ │ │ ├── Button.js │ │ │ ├── CardStyle.js │ │ │ ├── Footer.js │ │ │ ├── FooterStyle.js │ │ │ ├── Navigator.js │ │ │ └── SnackbarContentStyle.js │ │ ├── css │ │ │ └── react.css │ │ ├── img │ │ │ ├── bg.jpg │ │ │ ├── loading.gif │ │ │ └── uhoh.png │ │ └── react-css.js │ ├── components │ │ ├── CircularProgress │ │ │ └── CircularIndeterminate.js │ │ ├── Form │ │ │ └── AddPostForm.js │ │ ├── Main │ │ │ └── Main.js │ │ ├── Navigator │ │ │ └── Navigator.js │ │ ├── NoDataFound │ │ │ └── NoDataFound.js │ │ └── Snackbar │ │ │ ├── Snackbar.js │ │ │ └── SnackbarContent.js │ ├── config │ │ └── Config.js │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── pages │ │ ├── Login.js │ │ └── Posts.js │ └── serviceWorker.js └── yarn.lock ├── nodejs ├── handler.js ├── mapping-templates │ ├── Function-addPost-request.vtl │ ├── Function-sendNotification-request.vtl │ ├── Function-sendNotification-response.vtl │ ├── Mutation-addPost-request.vtl │ ├── Mutation-deletePost-request.vtl │ ├── Query-author-request.vtl │ ├── Query-author-response.vtl │ ├── Query-getPosts-request.vtl │ ├── Query-getPosts-response.vtl │ └── common-response.vtl ├── package.json ├── resources │ ├── appsync.yml │ ├── cognito.yml │ └── rds.yml ├── schema.graphql └── serverless.yml └── preview.gif /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/README.md -------------------------------------------------------------------------------- /frontend/.env: -------------------------------------------------------------------------------- 1 | NODE_PATH=./src 2 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/App.css -------------------------------------------------------------------------------- /frontend/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/App.js -------------------------------------------------------------------------------- /frontend/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/App.test.js -------------------------------------------------------------------------------- /frontend/src/Graphql/FragementPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/Graphql/FragementPost.js -------------------------------------------------------------------------------- /frontend/src/Graphql/MutationAddPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/Graphql/MutationAddPost.js -------------------------------------------------------------------------------- /frontend/src/Graphql/MutationDeletePost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/Graphql/MutationDeletePost.js -------------------------------------------------------------------------------- /frontend/src/Graphql/QueryPosts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/Graphql/QueryPosts.js -------------------------------------------------------------------------------- /frontend/src/Graphql/QuerymyAccount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/Graphql/QuerymyAccount.js -------------------------------------------------------------------------------- /frontend/src/Graphql/SubscribeToAddPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/Graphql/SubscribeToAddPost.js -------------------------------------------------------------------------------- /frontend/src/Graphql/SubscribeToDeletePost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/Graphql/SubscribeToDeletePost.js -------------------------------------------------------------------------------- /frontend/src/assets/components/AddPostModal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/components/AddPostModal.js -------------------------------------------------------------------------------- /frontend/src/assets/components/Button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/components/Button.js -------------------------------------------------------------------------------- /frontend/src/assets/components/CardStyle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/components/CardStyle.js -------------------------------------------------------------------------------- /frontend/src/assets/components/Footer.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/assets/components/FooterStyle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/components/FooterStyle.js -------------------------------------------------------------------------------- /frontend/src/assets/components/Navigator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/components/Navigator.js -------------------------------------------------------------------------------- /frontend/src/assets/components/SnackbarContentStyle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/components/SnackbarContentStyle.js -------------------------------------------------------------------------------- /frontend/src/assets/css/react.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/css/react.css -------------------------------------------------------------------------------- /frontend/src/assets/img/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/img/bg.jpg -------------------------------------------------------------------------------- /frontend/src/assets/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/img/loading.gif -------------------------------------------------------------------------------- /frontend/src/assets/img/uhoh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/img/uhoh.png -------------------------------------------------------------------------------- /frontend/src/assets/react-css.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/assets/react-css.js -------------------------------------------------------------------------------- /frontend/src/components/CircularProgress/CircularIndeterminate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/components/CircularProgress/CircularIndeterminate.js -------------------------------------------------------------------------------- /frontend/src/components/Form/AddPostForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/components/Form/AddPostForm.js -------------------------------------------------------------------------------- /frontend/src/components/Main/Main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/components/Main/Main.js -------------------------------------------------------------------------------- /frontend/src/components/Navigator/Navigator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/components/Navigator/Navigator.js -------------------------------------------------------------------------------- /frontend/src/components/NoDataFound/NoDataFound.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/components/NoDataFound/NoDataFound.js -------------------------------------------------------------------------------- /frontend/src/components/Snackbar/Snackbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/components/Snackbar/Snackbar.js -------------------------------------------------------------------------------- /frontend/src/components/Snackbar/SnackbarContent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/components/Snackbar/SnackbarContent.js -------------------------------------------------------------------------------- /frontend/src/config/Config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/config/Config.js -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/index.js -------------------------------------------------------------------------------- /frontend/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/logo.svg -------------------------------------------------------------------------------- /frontend/src/pages/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/pages/Login.js -------------------------------------------------------------------------------- /frontend/src/pages/Posts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/pages/Posts.js -------------------------------------------------------------------------------- /frontend/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/src/serviceWorker.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/frontend/yarn.lock -------------------------------------------------------------------------------- /nodejs/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/handler.js -------------------------------------------------------------------------------- /nodejs/mapping-templates/Function-addPost-request.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/mapping-templates/Function-addPost-request.vtl -------------------------------------------------------------------------------- /nodejs/mapping-templates/Function-sendNotification-request.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/mapping-templates/Function-sendNotification-request.vtl -------------------------------------------------------------------------------- /nodejs/mapping-templates/Function-sendNotification-response.vtl: -------------------------------------------------------------------------------- 1 | $utils.toJson($context.result) 2 | -------------------------------------------------------------------------------- /nodejs/mapping-templates/Mutation-addPost-request.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/mapping-templates/Mutation-addPost-request.vtl -------------------------------------------------------------------------------- /nodejs/mapping-templates/Mutation-deletePost-request.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/mapping-templates/Mutation-deletePost-request.vtl -------------------------------------------------------------------------------- /nodejs/mapping-templates/Query-author-request.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/mapping-templates/Query-author-request.vtl -------------------------------------------------------------------------------- /nodejs/mapping-templates/Query-author-response.vtl: -------------------------------------------------------------------------------- 1 | $utils.toJson($context.result) 2 | -------------------------------------------------------------------------------- /nodejs/mapping-templates/Query-getPosts-request.vtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/mapping-templates/Query-getPosts-request.vtl -------------------------------------------------------------------------------- /nodejs/mapping-templates/Query-getPosts-response.vtl: -------------------------------------------------------------------------------- 1 | $utils.toJson($context.result) 2 | -------------------------------------------------------------------------------- /nodejs/mapping-templates/common-response.vtl: -------------------------------------------------------------------------------- 1 | $utils.toJson($context.result) 2 | -------------------------------------------------------------------------------- /nodejs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/package.json -------------------------------------------------------------------------------- /nodejs/resources/appsync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/resources/appsync.yml -------------------------------------------------------------------------------- /nodejs/resources/cognito.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/resources/cognito.yml -------------------------------------------------------------------------------- /nodejs/resources/rds.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/resources/rds.yml -------------------------------------------------------------------------------- /nodejs/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/schema.graphql -------------------------------------------------------------------------------- /nodejs/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/nodejs/serverless.yml -------------------------------------------------------------------------------- /preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yai333/AppsyncServerlessCMS/HEAD/preview.gif --------------------------------------------------------------------------------