Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortend URL Public Statistics Page #101

Closed
aigdonia opened this issue Oct 8, 2022 · 12 comments
Closed

Shortend URL Public Statistics Page #101

aigdonia opened this issue Oct 8, 2022 · 12 comments
Assignees
Labels
enhancement New feature or request hacktoberfest-accepted help wanted Extra attention is needed

Comments

@aigdonia
Copy link
Contributor

aigdonia commented Oct 8, 2022

In Order to make a value for this App not to be another URL shortener, I believe we need to add some numbers.

As A short URL creator I need to track some statistics for the link I just created, I suggest the following number:

  • Number of Times this link was opened.
  • Geolocation, or list of Referrals where as this link was opened from.

Acceptance Criteria

  • Create a link details page at URL <domain>/<shortened_link>/stats.
  • this page should display the number of times this link was opened.
  • this page should display a brief of maximum 5 referral links that led to this link.
  • this page should be publicly accessible.
@aigdonia
Copy link
Contributor Author

aigdonia commented Oct 8, 2022

@origranot I can happily work on this, also I have another list of features we can include this this nice project

@origranot
Copy link
Owner

Go for it!

@origranot origranot added the enhancement New feature or request label Oct 8, 2022
@origranot
Copy link
Owner

@aigdonia Any update?

@aigdonia
Copy link
Contributor Author

My work in progress, I had to add storage for counting the visits, this took more than expected, I'll push my work today

@origranot
Copy link
Owner

@aigdonia Great!

@JoaoVictor6
Copy link

JoaoVictor6 commented Oct 21, 2022

My work in progress, I had to add storage for counting the visits, and this took more than expected, I'll push my work today

How would you do this count? I imagined creating a key with the following pattern: ${key}+count

@origranot
Copy link
Owner

My work in progress, I had to add storage for counting the visits, and this took more than expected, I'll push my work today

How would you do this count? I imagined creating a key with the following pattern: ${key}+count

Hey @JoaoVictor6, we are working to add another database to store authentication and details about every url.
I don't believe it's the best practice to implement this kind of feature on Redis database.

We are still working on it, I hope we will finish soon 😮‍💨

@Senior-ai
Copy link

@origranot I want to take this challenge. But first, was there any research done regarding storing additional details on each URL using Redis? Is there anything else used infrastructure-wise?

@origranot
Copy link
Owner

origranot commented Dec 11, 2023

@origranot I want to take this challenge. But first, was there any research done regarding storing additional details on each URL using Redis? Is there anything else used infrastructure-wise?

In-order to understand the current data we store on each link and visits you can check out the Prisma schema.
I will be more than happy to assist you out on Discord.

@Senior-ai
Copy link

@origranot I want to take this challenge. But first, was there any research done regarding storing additional details on each URL using Redis? Is there anything else used infrastructure-wise?

In-order to understand the current data we store on each link and visits you can check out the Prisma schema. I will be more than happy to assist you out on Discord.

No problem, wrote you everything I need to know (I think) on discord

@UrielOfir
Copy link
Contributor

@Senior-ai
Are you still working on this issue?

@Senior-ai
Copy link

@UrielOfir yeah I made a pr, I just need extra time for making sure all of the backend works properly for this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest-accepted help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants