An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          




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](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.


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) :
```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


Screenshot of the project