Samagra-Development / Doc-Generator

Create PDFs from a variety of formats.
17 stars 45 forks source link

Add render API #141

Open AnshulMalik opened 1 year ago

AnshulMalik commented 1 year ago

We need to add a render API which will be called from UI to render templates in real time. We need to create DTOs and basic handling, acual logic to render will be added later.

Here is the document that contains the API spec for /render API. https://app.swaggerhub.com/apis/MALIKANSHUL29/Doc-Generator/1.0.0

Same OpenAPI spec is in this file: https://gist.github.com/AnshulMalik/513723d253ea5ef4ff37795da1dde4f1

Tannic-Paprika commented 1 year ago

i want to try this issue

AnshulMalik commented 1 year ago

@Tannic-Paprika are you working on this?

AnshulMalik commented 1 year ago

Unassigning this issue @Tannic-Paprika .

coldn00dles commented 1 year ago

I would like to be assigned to this issue.

coldn00dles commented 1 year ago

@AnshulMalik should i just make an api folder within the src folder and add the ts file to it, or is there a different folder structure to be followed

yuvrajsab commented 1 year ago

@coldn00dles you have to follow the nest.js folder structure.