Victor-Evogor / resume-builder

A nodejs api application that creates resumes from html templates and a response body.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

A nodejs api application that creates resumes/CV from html templates and user data

Start

npm install
npm run build
npm run dev

How to add Templates

  • Add a new template file to templates/tempx/template.hbs with the handlebars syntax
  • Add a new Schema file to src/schemas/tempx.ts using joi
  • import the schema and add it to the schema array in src/index.ts
  • Create the corresponding view in views/pages/. Each view uses the ejs template language
  • Add the meta data of the resume to src/resumeData.json
  • Add a preview thumbnail to static/

Make sure all folders created in templates are named according to their index. example:

temp0/template.hbs
temp1/template.hbs
temp2/template.hbs
.
.
.
tempx/template.hbs

and all schema file should be named according to index temp{index}.ts

same with all view files

About

A nodejs api application that creates resumes from html templates and a response body.


Languages

Language:Handlebars 95.1%Language:EJS 3.0%Language:JavaScript 1.3%Language:TypeScript 0.6%Language:CSS 0.1%