Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.18 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.18 KB

resume 📃

Overview

  • scripts/build.js: Build the server entry code to be imported by the serverless function. Powered by esbuild.
  • api/resume.ts: Serverless function that gets my information from an Airtable base and responses the PDF document.
  • src/app: Contains the ReactPDF document app.
  • src/browser: The entry level for Vite.js, it uses an static data.json to populate the app.
  • src/server: The entry level for Serveless, it uses a function invocation to populate the app.
  • src/react-pdf.ts: Re-exportation of ReactPDF because of a bug.

Running

Prepare

git clone https://github.com/rqbazan/resume.git
cd resume
yarn

Development

yarn dev:web

Production similar

  1. Create a .env file similar to .env.example.
  2. Set NODE_ENV=production in your terminal session.
vercel dev