question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RFC: Update Docs for REST API and DynamoDB Storage

See original GitHub issue

Pages: CLI -> API (Rest) and Libraries -> API (Rest)

Feedback:

Screen Shot 2020-05-16 at 2 08 09 AM

Currently the Amplify Framework documentation tends to favor GraphQL over REST API implementations in terms of content available. It would be nice if there was more documentation on how to setup various REST API’s so that customer’s could choose whatever fits best for their use case.

Solution

I’m proposing new content be added to show varying CLI paths, recipes for usage, and general authorization practices. This would be for both API in terms of API Gateway + Lambda as well as API Gateway + Lambda + DynamoDB.

Business Case

GraphQL does offer more robust solutions regarding the dataStore API and schema based design patterns, however by increasing the documentation surrounding more traditional API’s, the barrier to entry would be lowered since REST endpoints are typically more understood than GraphQL SDL. Also, in addition to helping those using other serverless automation tools transition to Amplify, there would be a path for teams to start with a REST setup and slowly transition to a graphQL setup–perhaps with the help of the @function or @http directives.


Path Forward

I’m open to solutions on updating the docs, however I did want to point out, that I currently have a post that details how to bring in existing resources for use within an Amplify project that could be ported over to the docs in some fashion, in addition to a video tutorial that demonstrates how to create a REST API with dynamodb and call it on the frontend (currently no available in the docs).

So in short, a list of common REST topics would go a long way, and in addition to my own content, I’m hoping others would contribute their wants, ideas, and content as well.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mtliendocommented, Jun 17, 2020

Thanks for keeping this open while I took a brief pause from OSS! I’m happy to circle back in a day or so!

0reactions
mtliendocommented, Jul 28, 2020

Closing since I think the Amplify guides serve as a good place to enhance walkthrough-style documentation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DynamoDB low-level API
Learn about how Amazon DynamoDB processes requests and replies at the lowest API level. The AWS SDKs construct low-level API requests on your...
Read more >
REST API reference
The Alarm Management Open API provides endpoints to create, update, and retrieve data from the Events [em_event] and Alert [em_alert] tables.
Read more >
Loading JSON data from Cloud Storage | BigQuery
Shows how to load JSON files from Cloud Storage into a new table, or append to, or overwrite a table. Shows how to...
Read more >
Swagger file generation for REST V2 connections
, you send an API call to the service using a sample request. If you do not have permissions to send an API...
Read more >
aws_api_gateway_integration | Resources | hashicorp/aws
Provides an HTTP Method Integration for an API Gateway Integration. Example Usage. resource "aws_api_gateway_rest_api" "MyDemoAPI" { name = " ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found