This is a Node.js application for generating PDF invoices based data. It provides efficient solution for automating the invoicing process.

- Generate PDF invoices dynamically from HTML templates.
- Handle input data for invoice generation, including product details and customer information.
- Perform calculations for tax and total amounts.
- Customizable HTML template using Handlebars.
Before running this application, make sure you have the following installed:
- Node.js
- npm (Node Package Manager)
- Clone this repository to your local machine:
git clone https://github.com/Vedant-edu/InvoicePDF.git
- Navigate to the project directory:
cd invoice-generation
- Install dependencies:
npm install
-
Customize the HTML template (
template.html) located in thepublicdirectory according to your requirements. -
Start the server:
node app.js
-
Access the application in your web browser at http://localhost:3000.
-
Fill out the invoice details in the provided form and submit.
-
Your PDF invoice will be generated and downloaded automatically.
- The default port for the server is 3000. You can change this by modifying the
portvariable inapp.js. - You can customize the input fields and styling of the invoice template by modifying the HTML in
template.html.
- Vedant Mute(https://github.com/VedantMute)
created as a project for sahyadri dcllp company for educational purpose. The invoice generated and details used are for educational purpose only.