Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/florian-catalin-elisei/pdf-generator
This application combines React on the client side and Puppeteer with Express on the server side to generate PDF receipts. React, along with Axios, handles user input and HTTP requests, while Puppeteer on the server side creates PDFs using the submitted data.
https://github.com/florian-catalin-elisei/pdf-generator
axios cors css express file-saver html javascript puppeteer react
Last synced: about 1 month ago
JSON representation
This application combines React on the client side and Puppeteer with Express on the server side to generate PDF receipts. React, along with Axios, handles user input and HTTP requests, while Puppeteer on the server side creates PDFs using the submitted data.
- Host: GitHub
- URL: https://github.com/florian-catalin-elisei/pdf-generator
- Owner: florian-catalin-elisei
- Created: 2024-01-06T16:03:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-18T09:06:07.000Z (12 months ago)
- Last Synced: 2024-02-18T17:25:37.329Z (12 months ago)
- Topics: axios, cors, css, express, file-saver, html, javascript, puppeteer, react
- Language: JavaScript
- Homepage:
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF Generator
This is an application for generating PDF receipts using React on the client side and Puppeteer with Express on the server side. The client-side uses React with Axios for
making HTTP requests, and the server-side uses Puppeteer to generate PDFs based on the provided data.## Installation
Install my project with npm
1. Clone the repository to your local machine:
```bash
git clone https://github.com/florian-catalin-elisei/pdf-generator.git
```I. Client Installation
1. Navigate to the client directory:
```bash
cd client
```2. Install the dependencies:
```bash
npm install
```3. Start the React development server:
```bash
npm start
```II. Server Installation
1. Navigate to the server directory:
```bash
cd server
```2. Install the dependencies:
```bash
npm install
```3. Start the server:
```bash
npm start
```