Loading repository data…
Loading repository data…
rajtilak-2020 / repository
SpeedyBites is a web-based food ordering platform with a responsive interface. Built with HTML, CSS, and JavaScript, it delivers a seamless dining experience.
SpeedyBites is a web-based application designed to streamline the food ordering process. Users can browse menus, add items to a cart, proceed to checkout, and receive order confirmations through a responsive and intuitive interface. Built with HTML, CSS, and JavaScript, the project is hosted on GitHub Pages at https://rajtilak-2020.github.io/SpeedyBites/.
Below is a Mermaid diagram illustrating the user flow through the SpeedyBites application:
graph TD
A[Start: index.html] -->|Browse Menu| B[View Food Items]
B -->|Add to Cart| C[cart.html]
C -->|Review & Modify| D[Update Cart]
D -->|Proceed to Checkout| E[checkout.html]
E -->|Enter Payment Details| F[Submit Order]
F -->|Order Successful| G[confirmation.html]
G -->|View Order Summary| H[End: Order Confirmed]
C -->|Return to Menu| A
E -->|Cancel| C
index.html, cart.html, checkout.html, confirmation.html).style.css, components.css, layout.css, responsive.css, variables.css) for maintainability and responsiveness.main.js, cart.js, checkout.js, etc.).To run or develop SpeedyBites locally, you need:
http.server: python -m http.server 8000live-server: npm install -g live-server && live-servergit clone https://github.com/rajtilak-2020/SpeedyBites.git
cd SpeedyBites
python -m http.server 8000
Then open http://localhost:8000 in your browser.live-server:
live-server
index.html directly in a browser (note: some features may not work due to CORS restrictions).index.html, view food items categorized with details and images.cart.html to modify quantities or remove items.checkout.html to enter mock payment details and submit the order.confirmation.html displays the order summary and confirmation message.rajtilak-2020-speedybites/
├── cart.html # Cart page for managing selected items
├── checkout.html # Checkout page for payment processing
├── confirmation.html # Order confirmation page
├── index.html # Main page with menu and navigation
├── assets/ # Images and other static assets
├── css/
│ ├── components.css # Styles for reusable UI components
│ ├── layout.css # Layout-specific styles (e.g., grid, flexbox)
│ ├── responsive.css # Media queries for responsive design
│ ├── style.css # General styles and base rules
│ └── variables.css # CSS custom properties for theming
├── js/
│ ├── cart-page.js # Logic for cart page interactions
│ ├── cart.js # Cart management (add, remove, update)
│ ├── checkout.js # Checkout form validation and processing
│ ├── confirmation.js # Confirmation page logic
│ ├── data.js # Menu data and mock API
│ ├── main.js # Core application logic and initialization
│ ├── ui.js # UI-related functions (e.g., modals, animations)
│ └── utils.js # Utility functions (e.g., formatting, helpers)
└── README.md # Project documentation
Contributions are welcome! To contribute:
git checkout -b feature/your-feature-name
git commit -m "Add your feature description"
git push origin feature/your-feature-name
Ensure your code adheres to the project's modular structure and includes comments for clarity.
index.html, cart.html, checkout.html, confirmation.html) across browsers and devices.The project is deployed on GitHub Pages. To deploy updates:
main branch:
git push origin main
assets/ are compressed to improve load times.This project is licensed under the MIT License. You are free to use, modify, and distribute the code as per the license terms.
For questions or feedback, contact the project maintainer:
Thank you for exploring SpeedyBites! Happy ordering!