Skip to content

rqbazan/resume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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