This repository contains the source code and assets for the website hosted at http://pesgroup.co.in/.
The website offers the following features and functionalities:
Users can browse a vast catalogue of products available on the website. The catalogue provides a wide range of options for users to choose from.
The website allows users to add products to their shopping cart. Users can select the desired products from the catalogue and add them to their cart for future purchase.
The website incorporates form validation techniques to ensure that user inputs are accurate and complete. Additionally, SMTPjs is used to enable mailing capabilities, allowing the website to send email notifications related to the order.
Upon completing the order, the website generates a PDF document containing the order details. This PDF document serves as a record of the order and can be downloaded or printed for reference.
For each order placed, the website generates a unique voucher code. This voucher code can be used by users for discounts or promotional purposes, providing an added incentive for future purchases.
To run the website locally on your machine, follow these steps:
- Clone this repository:
git clone https://github.com/your-username/your-repository.git
- Install the necessary dependencies:
cd your-repository
npm install
- Start the development server:
npm start
- Open your browser and visit http://localhost:8000 to view the website.
The website can be deployed using any suitable hosting provider. Ensure that the necessary server-side dependencies are met for form validation, SMTP mailing, PDF generation, and voucher code generation.
Contributions to the website are welcome! If you find a bug, have a suggestion, or would like to add new features, please open an issue or submit a pull request.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as you see fit.
- PDF Generation: https://pdfkit.org/
- SMTPjs: https://smtpjs.com/