graphql-aws | Amazon AWS GraphQL API Server | AWS library
kandi X-RAY | graphql-aws Summary
kandi X-RAY | graphql-aws Summary
GraphQL is an experimental repository to enable GraphQL queries and mutations wrapping the Node.js Amazon AWS SDK.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of graphql-aws
graphql-aws Key Features
graphql-aws Examples and Code Snippets
Community Discussions
Trending Discussions on graphql-aws
QUESTION
I am developing ReactJs-GraphQL-aws appsync based application. build and configuration is based on aws amplify. currently everything is in same source code. can we have separate package for UI and back-end.
for e.g. React -redux and all UI stuff will be in one code repo/package. and GraphQL-appsync resolver related code will be in separate code base or separate code repo. and if yes could you please explained more how to do that. or do you think it is a good option to keep UI and backend separate.
Please let me know if i have explained it correctly.
...ANSWER
Answered 2019-Apr-15 at 05:51If you are not planning on having a single ReactJS client, then I don't think it's necessary to split the code base. The great thing about amplify, is that it will generate the queries, mutations, inputs, filters, and subscriptions based upon your annotated type schema. It'll place this in the front end src
folder, so your front end developers only have to import { listAllTypes } from '/src/graphql/queries.js'
and then use that query in their client code. There won't need to be separation, because your front end developers will only ever work within the project_root/src
directory, and your backend developers will only ever work within the project_root/amplify/backend
directory. Using a good git workflow will keep these concerns distinct between teams.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install graphql-aws
Once created, source .env
Run npm start
TBC
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page