Skip to content

Goziee-git/Greeneats_Food_Delivery_aws_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GREENEATS

The GREENEATS Food Ordering System is a serverless, scalable, and cost-efficient solution that streamlines food ordering. Customers can fill out a google form to place orders, order entries will be logged in google forms and they will receive a real-time notifications. The system leverages AWS cloud services to ensure high availability, fault tolerance, and seamless order management. By integrating API Gateway, Lambda, SQS, SNS, and MongoDB, the system automates order processing and optimizes customer experience.

pre-requisites for this project

  • An AWS Free-tier Account
  • A google email
  • Some Knowledge of AWS Services such as AWS API Gateway, AWS Lambda, AWS SQS, SNS , DynamoDB, AWS IAM
  • Prompting Skills for troubleshooting
  • Some Knowledgr of Google AppScript

follow the steps below accordingly

step 1 : Creating A Google Form

if you have a google email account you can create a google form using this link (https://docs.google.com/forms/u/0/) and use the order form template or you can create your form ideas from scratch

googleformimage

step 2: Connecting GoogleSheets to Googleforms

look over at the top of the google forms, in the response menu, click on connect to sheets to connect the google forms to a google sheet. NOTE: Format Settings to edit the form settings as you desire googlesheetimage

step 3: Creating the Google App script

if you're new to appscript you can visit this link to learn more about google app script (https://www.youtube.com/watch?v=8UmdqwY9AdA) Source https://youtube.com Channel Analytics with Adam

step 4: Creating the AWS lambda Function

in your aws management console, go to lambda function, and create a python lambda function.

step 5: create an AWS API Gateway

In your aws management console, create an aws api gateway. This api gateway will be used to fetch sheets enteries from Google sheets through the Appscript. T to get the invoke Url go to the stage menu and check the checklist icon to view the invoke URL. attach the invoke URL to the Appscript. Ensure you append /stage/route add the end of the const url variable path.

const url = 'https://6md9guki2g.execute-api.us-east-1.amazonaws.com/default/greeneats';

step 6: Create an SQS Queue

in the management console, create an sqs queue which will be used to create a queue of orders collected from the api gateway when the lambda function is invoked. the SQS URL will look like this:

https://sqs.us-east-1.amazonaws.com/814647154673/Greeneatsqueue.fifo

Step 7: Create an SNS Topic

head over to the AWS management console to create an SNS topic.

About

Greeneats is a serverless cost-effective food ordering app. The system leverages AWS cloud services to ensure high availability, fault tolerance, and seamless order management. By Integrating API Gateway, Lambda, SQS, SNS, and DynamoDB the system automates order processing and optimizes customer experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors