This repository contains my personal resume, built with React and @react-pdf. It generates both a web-based preview and a high-quality PDF from a single JSON data source.
- PDF Generation: Renders a professional PDF version of the resume.
- Web Preview: Browser-based preview with live-reloading during development.
- Data-Driven: Content is managed in
src/data.json. - Styled with Lato: Uses Lato font for a clean and professional look.
- React
- @react-pdf/renderer
- Vite
- TypeScript
- Vitest (for testing)
- Node.js (Latest LTS recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/alfredosalzillo/resume.git cd resume -
Install dependencies:
npm install
-
Start development server:
npm start
Opens a web preview of the resume.
-
Build web version:
npm run build:web
Generates a production build of the web preview in the
distfolder. -
Generate PDF:
npm run build:pdf
Creates the resume as a PDF file in the
buildfolder. -
Run tests:
npm test
The resume content is stored in src/data.json. Any updates to this file are automatically reflected in both the web and PDF versions.
This project is private.