VaibhavArora314 / StyleShare

A simple web based platform where users can easily create, explore, and share Tailwind CSS components and designs with fellow users.
https://style-share.vercel.app
MIT License
40 stars 68 forks source link

[Feature Request]: Creating API/fetching in card status #365

Closed MeetDOD closed 4 months ago

MeetDOD commented 4 months ago

Is there an existing issue for this?

Feature Description

  1. In this i will create a API for fetching the total users and api which calculate the total posts in style share uploaded till now.
  2. and showing in the style card at main dashboard page.
  3. Also i will add extra card which calculate the visits and page view i will rename it.
  4. Page views => when user reload the page.
  5. Visits => when user will open in new tab. (For this i have to create two api)
  6. Total Api's will be 4.

Use Case

Admin Analytics

Benefits

Tracking

Add ScreenShots

Eg:

image

Priority

High

Record

github-actions[bot] commented 4 months ago

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

VaibhavArora314 commented 4 months ago

how will you calculate page views

MeetDOD commented 4 months ago

how will you calculate page views

I will take reference from this youtube video => https://youtu.be/mtuYmm2ITvI?si=wepoQVC7BX0yXxqT

VaibhavArora314 commented 4 months ago

I am thinking of only adding visits to the website and for that, a simple middleware needs to be added here which updates website visits. https://github.com/VaibhavArora314/StyleShare/blob/93b5cb29aee44c2e9e3a155852d10a8c5e653432/backend/src/app.ts#L17 what do you think?

MeetDOD commented 4 months ago

I am thinking of only adding visits to the website and for that, a simple middleware needs to be added here which updates website visits.

https://github.com/VaibhavArora314/StyleShare/blob/93b5cb29aee44c2e9e3a155852d10a8c5e653432/backend/src/app.ts#L17

what do you think?

Okay i will not add the views, i will consider visits only

github-actions[bot] commented 4 months ago

Hello @MeetDOD! Your issue #365 has been closed. Thank you for your contribution!