Tanay-ErrorCode / lupo-skill

https://lupo-skill.web.app/
23 stars 73 forks source link

feat: Add support for article writing (backend) #261

Closed Tanay-ErrorCode closed 6 days ago

Tanay-ErrorCode commented 1 week ago

Is your feature request related to a problem? Please describe.

Currently, there is UI for Article Writing, add backend logic to create and display articles.

Describe the solution you'd like

Describe alternatives you've considered

None.

Additional context

The single article reading page should look like this:

image

The data must be stored this this way:

function generateUUID() { var d = new Date().getTime(); var d2 = (typeof performance !== "undefined" && performance.now && performance.now() 1000) || 0; return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) { var r = Math.random() 16; if (d > 0) { r = (d + r) % 16 | 0; d = Math.floor(d / 16); } else { r = (d2 + r) % 16 | 0; d2 = Math.floor(d2 / 16); } return (c === "x" ? r : (r & 0x3) | 0x8).toString(16); }); }

nishant0708 commented 1 week ago

Assign me this issue

Tanay-ErrorCode commented 1 week ago

@nishant0708 Go ahead.