Skip to content

ju-li/test-pdf-gen-react

Repository files navigation

PDF Generator with UUID

A Next.js application that generates PDFs with lorem ipsum text and a random UUID.

Deployment to Railway

  1. First, install the Railway CLI:
npm i -g @railway/cli
  1. Login to Railway:
railway login
  1. Initialize your Railway project:
railway init
  1. Link your repository:
railway link
  1. Deploy your application:
railway up

Development

To run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Build

To create a production build:

npm run build

Environment Variables

No environment variables are required for this application.

Notes

  • This application uses @react-pdf/renderer for PDF generation
  • Each page refresh generates a new UUID
  • The PDF is rendered client-side only

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors