On frontend, you can see the 3 last uploaded CVs as below;
On backend Testing,., I joined users and cv tables, I created new usercv router and usercv controller. I also limit the cvs numbers to be fetched from backend to max 20 cvs. see joined table below;
Checklist
[*] I have performed a self-review of my own code
[*] I have commented my code, particularly in hard-to-understand areas
[*] I have made corresponding changes to the documentation
[*] This PR is ready to be merged and not breaking any other functionality
Title : Endpoint to retrieve the last uploaded CVs #95
One can retrieve from the DB a list the 3 last upload CVs or All the whole list (limit to 20), so that you can view them on Frontend.
Fixes # https://github.com/HackYourFuture-CPH/rate-my-cv/issues/95
How to test?
On frontend, you can see the 3 last uploaded CVs as below;
On backend Testing,., I joined users and cv tables, I created new usercv router and usercv controller. I also limit the cvs numbers to be fetched from backend to max 20 cvs. see joined table below;
Checklist