Skip to content

nderousseaux/resume

Repository files navigation

Icon of the project

My resume

My resume, and some tools related to it.

ℹ️ About

This is my online resume. Made with express, json-resume and my french version of the stackoverflow theme. The conversion to pdf is done with puppeteer. The database is a postgresql database.

The deployment is done via vercel.

Demo of the project

📚 Features

  • GET / : Get the resume in the html format.
  • GET /pdf : Get the resume in the pdf format.
  • GET /json : Get the resume in the json format.

You can also use it for build your own resume :

  • POST /: Post a json resume, and get the html resume.
  • POST /pdf: Post a json resume, and get the pdf resume.

Here some cheatsheet for the api (-L because my vercel configuration requires it) :

# GET /
$ curl -L https://cv.nderousseaux.fr > resume.html
# GET /pdf
$ curl -L https://cv.nderousseaux.fr/pdf > resume.pdf
# GET /json
$ curl -L https://cv.nderousseaux.fr/json > resume.json

# POST /
$ curl -L -X POST -H "Content-Type: application/json" -d @resume.json https://cv.nderousseaux.fr > resume.html
# POST /pdf
$ curl -L -X POST -H "Content-Type: application/json" -d @resume.json https://cv.nderousseaux.fr/pdf > resume.pdf

If you want to see the schema of the json resume, you can see at the jsonresume.org project.

🛠️ Installation, development and deployment

Installation

$ npm install
$ mv .env.example .env

Fill the .env file with your own values. Then, init the database with the struct.sql file :

$ plsql -U <user> -d <database> -f struct.sql

And finally, fill the database with your own data.

Development

$ npm run dev 
#or, with vercel
$ vercel dev

Deployment

$ vercel --prod

Or simply push to the main branch, if you have the vercel integration enabled.

🌅 Some screenshots

Screenshot of the project