forked from Anadee11/WebArena
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea2ea01
commit b5a7fb7
Showing
45 changed files
with
37,293 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\index.js":"1","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\App.js":"2","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\Meals.js":"3","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Layout\\Header.js":"4","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\store\\CartProvider.js":"5","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\Cart.js":"6","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\AvailableMeals.js":"7","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Layout\\HeaderCartButton.js":"8","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\store\\cart-context.js":"9","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\Checkout.js":"10","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\MealsSummary.js":"11","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\CartItem.js":"12","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\UI\\Modal.js":"13","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\UI\\Card.js":"14","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\CartIcon.js":"15","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\MealItem\\MealItem.js":"16","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\MealItem\\MealItemForm.js":"17","C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\UI\\Input.js":"18","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\index.js":"19","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\App.js":"20","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\store\\CartProvider.js":"21","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Layout\\Header.js":"22","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\Meals.js":"23","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\Cart.js":"24","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\store\\cart-context.js":"25","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\AvailableMeals.js":"26","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\MealsSummary.js":"27","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\CartItem.js":"28","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Layout\\HeaderCartButton.js":"29","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\Checkout.js":"30","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\UI\\Modal.js":"31","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\UI\\Card.js":"32","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\CartIcon.js":"33","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\MealItem\\MealItem.js":"34","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\MealItem\\MealItemForm.js":"35","C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\UI\\Input.js":"36"},{"size":142,"mtime":1616594953000,"results":"37","hashOfConfig":"38"},{"size":652,"mtime":1656149335444,"results":"39","hashOfConfig":"38"},{"size":285,"mtime":1656080629317,"results":"40","hashOfConfig":"38"},{"size":552,"mtime":1656137758678,"results":"41","hashOfConfig":"38"},{"size":2579,"mtime":1656770050464,"results":"42","hashOfConfig":"38"},{"size":3030,"mtime":1659612973313,"results":"43","hashOfConfig":"38"},{"size":1844,"mtime":1659613024173,"results":"44","hashOfConfig":"38"},{"size":1188,"mtime":1656180193087,"results":"45","hashOfConfig":"38"},{"size":219,"mtime":1656770033631,"results":"46","hashOfConfig":"38"},{"size":3482,"mtime":1656776497819,"results":"47","hashOfConfig":"38"},{"size":548,"mtime":1656080220691,"results":"48","hashOfConfig":"38"},{"size":635,"mtime":1656167402022,"results":"49","hashOfConfig":"38"},{"size":728,"mtime":1656139088334,"results":"50","hashOfConfig":"38"},{"size":193,"mtime":1656081151657,"results":"51","hashOfConfig":"38"},{"size":501,"mtime":1656074727940,"results":"52","hashOfConfig":"38"},{"size":869,"mtime":1656157097722,"results":"53","hashOfConfig":"38"},{"size":1170,"mtime":1656157221541,"results":"54","hashOfConfig":"38"},{"size":324,"mtime":1656154726204,"results":"55","hashOfConfig":"38"},{"size":142,"mtime":1616594953000,"results":"56","hashOfConfig":"57"},{"size":652,"mtime":1656149335444,"results":"58","hashOfConfig":"57"},{"size":2579,"mtime":1656770050464,"results":"59","hashOfConfig":"57"},{"size":557,"mtime":1665206454246,"results":"60","hashOfConfig":"57"},{"size":285,"mtime":1656080629317,"results":"61","hashOfConfig":"57"},{"size":3034,"mtime":1665210043286,"results":"62","hashOfConfig":"57"},{"size":219,"mtime":1656770033631,"results":"63","hashOfConfig":"57"},{"size":1844,"mtime":1659613024173,"results":"64","hashOfConfig":"57"},{"size":548,"mtime":1656080220691,"results":"65","hashOfConfig":"57"},{"size":635,"mtime":1656167402022,"results":"66","hashOfConfig":"57"},{"size":1188,"mtime":1656180193087,"results":"67","hashOfConfig":"57"},{"size":3482,"mtime":1656776497819,"results":"68","hashOfConfig":"57"},{"size":728,"mtime":1656139088334,"results":"69","hashOfConfig":"57"},{"size":193,"mtime":1656081151657,"results":"70","hashOfConfig":"57"},{"size":501,"mtime":1656074727940,"results":"71","hashOfConfig":"57"},{"size":869,"mtime":1656157097722,"results":"72","hashOfConfig":"57"},{"size":1170,"mtime":1656157221541,"results":"73","hashOfConfig":"57"},{"size":324,"mtime":1656154726204,"results":"74","hashOfConfig":"57"},{"filePath":"75","messages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"7mzoan",{"filePath":"77","messages":"78","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"79","messages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"83","messages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"85","messages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"99","messages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"105","messages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"111","messages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1l11i03",{"filePath":"113","messages":"114","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"115","messages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"117","messages":"118","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"121","messages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"127","messages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"137","messages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"141","messages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\index.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\App.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\Meals.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Layout\\Header.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\store\\CartProvider.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\Cart.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\AvailableMeals.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Layout\\HeaderCartButton.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\store\\cart-context.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\Checkout.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\MealsSummary.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\CartItem.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\UI\\Modal.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\UI\\Card.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Cart\\CartIcon.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\MealItem\\MealItem.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\Meals\\MealItem\\MealItemForm.js",[],"C:\\Users\\Srishti\\Desktop\\React\\$$$$$$\\food-order-app\\src\\components\\UI\\Input.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\index.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\App.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\store\\CartProvider.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Layout\\Header.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\Meals.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\Cart.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\store\\cart-context.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\AvailableMeals.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\MealsSummary.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\CartItem.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Layout\\HeaderCartButton.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\Checkout.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\UI\\Modal.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\UI\\Card.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Cart\\CartIcon.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\MealItem\\MealItem.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\Meals\\MealItem\\MealItemForm.js",[],"C:\\Users\\Srishti\\Desktop\\webarena\\WebArena\\Food_Ordering_App\\src\\components\\UI\\Input.js",[]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.DS_Store | ||
.vscode | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# React Food Ordering Website | ||
This is a food ordering website built with React and context API. It has a menu of dishes to order items that get added to user's cart. The cart is fully functional with options of incrementing/ decrementing individual items and also removing them. | ||
On confirming, the user is shown a form to enter their details and place their order. Successful order submission is shown by a confirmation Modal. | ||
It uses Firebase to store order and user details. | ||
|
||
<br> | ||
|
||
# 💻Tech Stack Used | ||
- Frontend - React | ||
- Database - Firebase | ||
|
||
<br> | ||
|
||
# ✨ Requirements | ||
- Any Operating System (ie. MacOS X, Linux, Windows) with MySQL installed for the respective OS | ||
- Any IDE with Flutter SDK installed (ie. VSCode etc) | ||
|
||
<br> | ||
|
||
# 📝Steps to run | ||
<br> | ||
|
||
1. Clone this repository. You will need `node` and `npm` installed globally on your machine. | ||
``` | ||
git clone https://github.com/your_username/WebArena | ||
``` | ||
2. Run this command to install all the packages: | ||
``` | ||
npm i | ||
``` | ||
3. To start app: | ||
``` | ||
npm start | ||
``` | ||
|
||
# Screenshots | ||
|
||
### ⚡ Landing Page | ||
<br> | ||
<p align="center"> | ||
<img src="./public/fow1.png"></img> | ||
</p> | ||
<br> | ||
|
||
### ⚡ Cart Preview | ||
<br> | ||
<p align="center"> | ||
<img src="./public/fow2.png"></img> | ||
</p> | ||
<br> | ||
|
||
### ⚡ User Details Form | ||
<br> | ||
<p align="center"> | ||
<img src="./public/fow3.png"></img> | ||
</p> | ||
<br> | ||
|
||
### ⚡ Order Confirmation Modal | ||
<br> | ||
<p align="center"> | ||
<img src="./public/fow4.png"></img> | ||
</p> | ||
<br> |
Oops, something went wrong.