PiyushSuthar/github-readme-quotes

How to create these type of api's?

chinmay29hub opened this issue ยท 4 comments

Can anyone tell what is the tech stack used in these project and how it is implemented? And can we implement the same thing using flask?

I'm using vercel serverless functions with NodeJs for this project.
You may refer to https://vercel.com/docs/concepts/functions/supported-languages#python to learn how to use serverless functions with python.

I'm using vercel serverless functions with NodeJs for this project. You may refer to https://vercel.com/docs/concepts/functions/supported-languages#python to learn how to use serverless functions with python.

Ohkay. Thanks for sharing the resources. ๐Ÿ‘

I'm using vercel serverless functions with NodeJs for this project. You may refer to https://vercel.com/docs/concepts/functions/supported-languages#python to learn how to use serverless functions with python.

I was successfully able to create a api using flask. But how you are converting the output(the </div>) into a svg so for markdown purpose????

I have put the HTML inside ForeignObject tag and sent it with SVG headers.

Refer this code:-

const renderedSVG = `<svg width="300" height="300" fill="none" xmlns="http://www.w3.org/2000/svg">
<foreignObject width="100%" height="100%">