Food Delivery Website
Food delivery website similar to Seamless/Grubhub/Deliveroo. State handled with Context. Content managed via Strapi and payments via Stripe.
This is not set up as a fully built out eccommerce site. There is no communication with the example restaurants used.
Notes on Repos
This project is split into 2 reposotories (this one and backend) to mimick the deployment process and reduce confusion.
Fixes/Features still being worked on:
Add check when end user adds item to cart to make sure the restaurant the item is being added from matches the restaurant of the items already in the cart. If not, alert user and ask them if they wish to clear the cart and add the new item.
A cart icon needs to be added to the front page menu so it can be accessed if the end user returns to the main page.
The dishes and checkout pages need to be edited to be mobile friendly.
Once an order is submitted, the page should clear of the order form an display success and a link to the front page.
If the submission failed, the page needs to remain current and inform the end user of the failure and what the issue is.
Once the order is submitted successfully, the cart needs to be cleared.
How to Use
If testing the order process, use fake CC information (such as: 4242-4242-4242-4242, 04/24, 242).
Set up Instructions
- Copy files
- Follow Strapi installation instructions.
If running locally, edit frontend/components/RestaurantList/index.js cand pages/restaurants.js, replacing
If you want to run it on a hosting platform such as Heroku, you