abhijeetnishal / URLShortener

URL Shortener Deployed Link 👇🏻
https://urlsrtner.vercel.app
MIT License
37 stars 59 forks source link

[Feature] Implement URL Save Functionality (Server side) #17

Closed abhijeetnishal closed 3 months ago

abhijeetnishal commented 4 months ago

Followed by issue #16

Description:

The current URL Shortener project lacks a feature that allows authenticated users to save their shortened URLs. This will enable users to login and access their saved shortened URLs, along with their original URLs.

Requirements:

Acceptance Criteria:

Estimated Time:

This issue is estimated to take around 2-3 days to complete, depending on the contributor's experience.

atharvarekhawar commented 4 months ago

Hello @abhijeetnishal I would like to work on this issue, currently I see there is one more issue related to register/login assigned to someone else, so I will complete the above issue as soon as register/login implementation is completed as the userId is needed to complete the above functionality.

can you assign this issue to me.

abhijeetnishal commented 4 months ago

Great @atharvarekhawar, I think you understand the task. I am assigning this issue to you. Best of luck.

Ansh101112 commented 3 months ago

@abhijeetnishal i want to work on this issue also please assign me this issue to start working on it,

abhijeetnishal commented 3 months ago

Hey @atharvarekhawar, are you working on this issue or we will assign to @Ansh101112

atharvarekhawar commented 3 months ago

@abhijeetnishal I am working on this issue but I can't complete it without the Authentication part which is handled by someone else so I am unable to create PR.

I will still code it as much as possible till the other issue is solved.

And also I think this is a level 2 issue , your thoughts?

atharvarekhawar commented 3 months ago

@abhijeetnishal I am unable to understand this requirement

Shortened URL Save Functionality: Create an API endpoint (v1/api/urls) that allows authenticated users to save their shortened URLs with the original URL associated with the user_id on the server-side.

we will save the URL as soon as it is created with the user_id then why the extra endpoint to save the URLs?

abhijeetnishal commented 3 months ago

Hey @atharvarekhawar, you just need to create an API which performs CRUD operation without update and it shows original URL with shortened url to respective users with JWT authentication which acts as a middleware.

Don't worry about the auth middleware for now. So i think it's level1 issue because CRUD and authentication are different issues.

If you have any doubts, let me know.

prajna321 commented 3 months ago

@abhijeetnishal I'd love to take on this challenge. Please assign me this issue!

atharvarekhawar commented 3 months ago

@abhijeetnishal I will make a PR today itself , so plz keep the issue assigned to me

abhijeetnishal commented 3 months ago

@abhijeetnishal I'd love to take on this challenge. Please assign me this issue!

Hey @prajna321, @atharvarekhawar is already working on this issue

abhijeetnishal commented 3 months ago

@abhijeetnishal I will make a PR today itself , so plz keep the issue assigned to me

Hey @atharvarekhawar, don't worry about it. I have merge the login/signup feature you can check I have to test it.

abhijeetnishal commented 3 months ago

Closing this issue as completed