Skip to content

This mini project used React, DynamoDB, GraphQL. The application boiler plate was generated using amplify cli. It's really a cool app, I promise ๐Ÿ˜„.

Notifications You must be signed in to change notification settings

vantablanta/serverless-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Buidling an application using React, GraphQL and AWSApp Sync

I got started with AWS Amplify just the other day. This application follows an idea from a workshop video by Nader Dabit. Although at some point I decided to use a different approach and add abit more functionalities. My key focus in documenting this will be on GraphQL. I used a JS backend.

What I have implemented.

  • Fetching data
  • Fetching sorted data
  • Adding data from the UI
  • Updating data
  • Deleting data

The logic can be applied for any crud application you'd like to make, in my case the data is for confrences to be held.

Mistakes I made.

I can only term them as such coz I managed to fix them otherwise thy are bugs I encountered

  • I tried passing actual values to the varaibales in my queries. I think just pass values from the frontend .

  • In most cases the data being passed as a parameter will usually be a map . So, for instance you are passing an id for deletion, it should be inside

    { nameoFMutationFunction, variable : {id : {theValueAsAMap}}}
    
    

First time with GraphQL

To make calls to the database (Dynamo DB ), use queries,

To add, update or delete data use mutations

If you used the amplify cli to add an api these files will be generated for you.

About Developer

When I imagined documenting this, I had a good idea of what should have been highlighted and it was interesting, but on paper it's not ๐Ÿ˜„.


Anyway, please go through the code it might be able to answer questions you might have. Incase you'd like to checkout the very well documented guide by Nader Dabit click here.

Also one of the most important handbook I used was VERY IMPORTANT GUIDE

About

This mini project used React, DynamoDB, GraphQL. The application boiler plate was generated using amplify cli. It's really a cool app, I promise ๐Ÿ˜„.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published