Skip to content

lsoys/InternshipManagement.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

InternshipManagement.github.io

New features added: Badges & Automated Certificate Generation

Backend additions (routes in /backend/routers/candidate.js):

  • PATCH /candidate/badge - body: { candidateID, badgeName, points, assignedBy }

    • Assigns a badge to a candidate and increments their xp.
  • GET /candidate/:id/certificate?download=1 - generates a PDF certificate for the candidate.

    • If download=1 the server responds with a PDF download. Otherwise it returns { pdfBase64 }.

Backend dependency: pdfkit was added. From the backend folder run:

npm install
npm install pdfkit

Frontend: internship-management updated to show badges and total XP on the intern profile. A small manager UI was added to assign badges and to download the auto-generated certificate.

Security note: these endpoints are protected by the project's authentication middleware but double-check that only authorized managers can call the badge assignment route in production.

About

Many startup companies and other companies not having any application for managing interns. Using this application they can easily manage their interns and have history of data also. They can add new interns, assign work to them, create group of interns for working under employee, giving feedback to intern etc.

Topics

Resources

Stars

Watchers

Forks

Contributors