It is a backend system built using Express where you can upload HTML files, and get a converted PDF to your email address.
- multer
- nodemailer
- nodemailer-sendgrid-transport
- puppeteer
public
- it is the directory where we add static files.src/config
- all the environment variables are conifgured here.src/lib
- javascript utility functions by using external libraries.src/middlewares
- all the express middlewares contains here.src/modules
- all the modules (routes and controllers) contains here.src/utils
- pure javascript utility functions.
Clone the project
git clone [email protected]:trishan9/PDF-Converter.git
Go to the project directory
cd PDF-Converter
Install dependencies
yarn
To run this project, you will need to add the following environment variables to your .env file
PORT
SENDGRID_API_KEY
Start the server
yarn start