Cuppa Joy is a coffee shop website, designed to showcase the range of services, products, and events for this coffee shop. The site is developed primarily for Educational Purposes, demonstrating how to build a completely functional website from scratch using basic web technologies like php and plain html, css, javascript.
Here is a breakdown of the main features of Cuppa Joy website
-
Coffee Menu: A dynamic menu displaying a variety of coffee options, sourced from a MySQL database. It includes details such as names, descriptions, prices, and images, and supports inputs in both English and Arabic.
-
Order Placement: The website facilitates the process of placing orders for pickup or delivery, creating a seamless user experience.
-
Store Locator: To locate the store location.
-
Event Gallery: To showcase store events.
-
About Section: To display relevant information about the coffee shop.
-
Multilingual Support: The website is fully accessible in both English and Arabic, broadening its reach to a diverse user base.
-
Theme Options: Support of light & dark themes, enhancing user experience.
-
Responsive Design: The layout is optimized for easy reading and navigation across various devices, from desktops to mobile phones.
-
Contact Form: A convenient form for customers to send messages, improving direct communication with the coffee shop.
-
Subscription Form: Customers can subscribe to receive regular updates and newsletters, fostering customer engagement.
-
Social Media Links: Easy access to the coffee shop's social media platforms for enhanced customer interaction and updates.
-
Product Database: An organized MySQL database containing all product details.
-
User Messaging: The system is designed to receive and store users' messages effectively.
-
Subscription Management: The MySQL database securely stores and manages all user subscriptions.
This PHP project is built from scratch (for educational purposes), no libraries are used.
- HTML, CSS, Javascript
- PHP & MySQL
- Bootstrap
- AJAX
- Azure Services:
- Azure App Service used to host the website.
- Azure Database for MySQL to manage the database.
To test the website on your local device, please follow this setup:
- XAMPP (Apache, MySQL, PHP)
- Download and install XAMPP from the official website.
- Clone or download the Cuppa Joy project from the repository.
- Place the project folder in the
htdocs
folder of your XAMPP installation (e.g.,C:/xampp/htdocs/
on Windows). - Start the Apache and MySQL services using the XAMPP Control Panel.
- Open your browser and go to
http://localhost/phpmyadmin
. - Import and execute the
CREATE.sql
file located in thesql
folder to set up the necessary tables. - Import and execute the
INSERT.sql
file from the same location to fill the tables with data.
- After setting up the database, make sure to delete the
sql
file to prevent public access from users.
- Open your browser and go to
http://localhost/cuppa-joy
. - Explore the website.
The Cuppa Joy project combines technology and the timeless charm of a coffee shop, providing a compelling online presence that reflects the coffee shop's commitment to quality, diversity, and exceptional customer experiences.