https://github.com/nderousseaux/resume
My resume, and some tools related to it.
https://github.com/nderousseaux/resume
express javascript jsonresume personal-config postgresql puppeteer vercel web
Last synced: 6 months ago
JSON representation
My resume, and some tools related to it.
- Host: GitHub
- URL: https://github.com/nderousseaux/resume
- Owner: nderousseaux
- License: mit
- Created: 2024-09-20T12:42:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T10:53:37.000Z (over 1 year ago)
- Last Synced: 2025-02-10T11:36:48.733Z (over 1 year ago)
- Topics: express, javascript, jsonresume, personal-config, postgresql, puppeteer, vercel, web
- Language: JavaScript
- Homepage: https://cv.nderousseaux.fr
- Size: 47.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
#
My resume
My resume, and some tools related to it.
## âšī¸ About
This is my online resume. Made with express, [json-resume](https://jsonresume.org) and [my french version of the stackoverflow theme](https://github.com/nderousseaux/jsonresume-theme-stackoverflow-french). The conversion to pdf is done with [puppeteer](https://github.com/puppeteer). The database is a postgresql database.
The deployment is done via vercel.
## đ 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) :
```bash
# 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](https://jsonresume.org) project.
## đ ī¸ Installation, development and deployment
### Installation
```bash
$ npm install
$ mv .env.example .env
```
Fill the `.env` file with your own values. Then, init the database with the `struct.sql` file :
```bash
$ plsql -U -d -f struct.sql
```
And finally, fill the database with your own data.
### Development
```bash
$ npm run dev
#or, with vercel
$ vercel dev
```
### Deployment
```bash
$ vercel --prod
```
Or simply push to the main branch, if you have the vercel integration enabled.
## đ
Some screenshots