This is an example app created using Next.js, that allows you to generate dynamic PDF files from a HTML template.
- Unit and Components: Vitest
- E2E: Playwright
The tests included in this repo are only for demonstration and should be extended/changed for production use.
- You need to have pnpm installed on your system
- This repo uses local SQLite database, but you can use Turso for production
- You can sign in with
[email protected]
androot
after seeding the database
Remember to create a .env.
file from .env.example
before installation.
git clone https://github.com/nnad3N/pdf-generator.git
cd pdf-generator
pnpm i
pnpm db:push
pnpm db:seed
pnpm build
pnpm start