From e2c67ad0feff9c5c252ec5c8e5a32f6c97f6d040 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Mon, 8 Sep 2025 17:27:22 +0000 Subject: [PATCH] Initial version --- .gitignore | 3 + .htaccess | 18 +++++ db/config.php | 17 +++++ index.php | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 236 insertions(+) create mode 100644 .gitignore create mode 100644 .htaccess create mode 100644 db/config.php create mode 100644 index.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e427ff3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules/ +*/node_modules/ +*/build/ diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..e2bbc23 --- /dev/null +++ b/.htaccess @@ -0,0 +1,18 @@ +DirectoryIndex index.php index.html +Options -Indexes +Options -MultiViews + +RewriteEngine On + +# 0) Serve existing files/directories as-is +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule ^ - [L] + +# 1) Internal map: /page or /page/ -> /page.php (if such PHP file exists) +RewriteCond %{REQUEST_FILENAME}.php -f +RewriteRule ^(.+?)/?$ $1.php [L] + +# 2) Optional: strip trailing slash for non-directories (keeps .php links working) +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.+)/$ $1 [R=301,L] diff --git a/db/config.php b/db/config.php new file mode 100644 index 0000000..237dd5c --- /dev/null +++ b/db/config.php @@ -0,0 +1,17 @@ + PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + ]); + } + return $pdo; +} diff --git a/index.php b/index.php new file mode 100644 index 0000000..f390d93 --- /dev/null +++ b/index.php @@ -0,0 +1,198 @@ + + + + + + BrewFlow - Manage Your Coffee Business + + + + + + + + + + + + + + + +
+
+

Manage Your Coffee Empire, Seamlessly.

+

The ultimate toolkit for your online coffee business. From bean to cup, we've got you covered.

+ Start Free Trial + See Features +
+
+ + +
+
+

Everything You Need to Succeed

+
+
+ +

Blend Management

+

Perfect your coffee offerings. Manage inventory, pricing, and stock levels with ease.

+
+
+ +

Order Tracking

+

From grind to doorstep. Oversee every customer order in one centralized system.

+
+
+ +

Customer Insights

+

Know your customers. Keep a detailed database with order history and preferences.

+
+
+
+
+ + +
+
+
+
+ A close-up of various coffee beans in rustic bowls. +
+
+

Data-Driven Decisions to Boost Your Sales

+

Our powerful reporting tools give you real-time analytics on sales trends and customer behavior. Stop guessing and start growing your coffee business with actionable insights.

+ Learn More +
+
+
+
+ + +
+
+

Loved by Coffee Entrepreneurs

+
+
+
+ Pleased customer avatar +

"BrewFlow revolutionized how we manage our inventory! What used to take hours now takes minutes."

+

- Sarah L., Roast Master

+
+
+
+
+ Pleased customer avatar +

"The order management system is a lifesaver. We can finally track everything from a single dashboard."

+

- Mike R., Cafe Owner

+
+
+
+
+ Pleased customer avatar +

"Finally, a tool that understands the coffee business. The customer insights are pure gold."

+

- Chen W., Subscription Box CEO

+
+
+
+
+
+ + +
+
+
+
+

Frequently Asked Questions

+
+
+

+ +

+
+
Yes! BrewFlow is designed for simplicity. You can get your dashboard configured and import your existing data in under an hour. No technical skills required.
+
+
+
+

+ +

+
+
We support all major payment gateways, including Stripe, PayPal, and Square, to ensure you never miss a sale.
+
+
+
+

+ +

+
+
Absolutely. Our platform includes robust tools for managing recurring orders and subscriptions, helping you build a loyal customer base.
+
+
+
+
+
+
+
+ + +
+
+
+
+

Ready to Grow Your Business?

+

Drop us a line and we'll get you set up with a free, no-obligation trial.

+
+
+
+ +
Please enter your name.
+
+
+ +
Please enter a valid email address.
+
+
+
+ +
Please enter a message.
+
+ +
+
+
+
+
+ + + + + + + + + + \ No newline at end of file