DEV Community

Discussion on: Building a Serverless JAMstack ECommerce Store with Gatsby & AWS Amplify

Collapse
 
mathiasjose profile image
mathiasjose

Hi Nader
Great tutorial - thanks!

My one question is what happens once the order is created

I see in src>pages>checkout.js line 114 that there's a comment to call API.

How would you go about putting all orders in the database in a new orders table and tying it to the user who created the order so that they can see their history for example.

Thanks again for the great tut