:book: A base application to display your CV (resume) from a JSON file
This is a tool to generate a PDF-friendly webpage resume from JSON.
First, copy src/resume.example.ts
to src/resume.ts
cp src/resume.example.ts src/resume.ts
Add your avatar to public/images
.
Run the development server
npm i
npm run dev
Saving as PDF is as easy as clicking the browser’s Print button.
If you’d like to generate a page-break free version - adjust the height (2nd parameter) of the size
property in src/sass/main.sass
otherwise comment the rule out.
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Since the application depends on the gitignored src/resume.ts
file it is advised to deploy from your command line
npm i -g vercel
vercel login
vercel build --prod
vercel deploy --prebuilt --prod