Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```