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.
git clone https://github.com/rqbazan/resume.git
cd resume
yarn
yarn dev:web
- Create a
.env
file similar to.env.example
. - Set
NODE_ENV=production
in your terminal session.
vercel dev