
Project Name
Hydrovac SupplyTechnologies
Next.js, PostgresqlVersion (original build)
Node - 20.18.0Technologies
Overview
As an operator-owned business, the company understands the unique challenges faced by professionals in the field and is dedicated to delivering reliable solutions with exceptional customer service.
With a carefully curated selection of products from industry-leading brands such as Dig Pig, Suttner, UEMSI/HTV, and Hydra-Flex, HydroVac Supply Co. ensures that customers have access to top-tier equipment. The company prioritizes personalized service, offering expert guidance to help customers find the right parts for their specific needs.
Beyond product sales, HydroVac Supply Co. actively engages with the industry through event participation, including the WWETT Show, where they showcase the latest innovations in hydro-excavation supplies.
What We Have Done
- Stripe payment gateway implementation.
- Dynamic price calculation display in the checkout page.
- Email configuration for order confirmation, contact us, and reset password.
- Account settings page implementation.
Key Features
- Extensive range of jetting and vacuum parts
- Operator-owned business with industry expertise
- Partnerships with trusted brands for superior product quality
- Personalized customer service for tailored solutions
- Active participation in industry events
Code Snippets
Code snippet 1
- The provided code is an asynchronous React form handler for processing payments using Stripe's Payment Intent API. It is specifically implementing Stripe's Card Payment confirmation within a React application using the Stripe.js library. It allows a secure and efficient way to process payments using Stripe.
Code snippet 2
- This code defines an asynchronous sendEmail function that uses Nodemailer to send emails. The function accepts parameters for the recipient's email, subject, text, and HTML content. It creates a transporter using environment variables like MAILPIT_HOST, MAILPIT_PORT, and MAILPIT_SECURE for secure and flexible configuration. The mailOptions object defines the email's sender, recipient, subject, and content. The await transporter.sendMail(mailOptions) method is used to send the email, ensuring the process is completed before proceeding. Errors are handled gracefully using a try-catch block, providing clear error messages for troubleshooting. This approach ensures secure, reusable, and efficient email delivery.