I can’t understand why you are storing “shorturl” and “ uniquename”, shorturl consist of baseurl and uniqueurl
It can be generated dynamically when execution of geturl, because baseurl is constant for all links, no need to store it.
Also, if we change the domain, it can be used still
I'm a front-end developer and I love what I do :) Besides that, I really enjoy music as a listener and also as a DJ. Trying to learn Japanese and my second home is in Azeroth!!
Sometimes it is not necessary. At my student club, we are using rebrandly with subdomain of our website. example go.compec.org/xyz
It seems long, but easier than bit.ly or tinyurl. Domain part of short url includes “go” and our club short name.
We are happy with it.
Loved this tutorial. The hardest part seems to find a cool short URL. The use of the fetch library in the frontend seems leaner than using jQuery AJAX.
We're a place where coders share, stay up-to-date and grow their careers.
Great article! Congrats!
Two minor fixes:
package.jsonfile, it's missing a comma at the end of the line:server.jsthere's an extrasonbody-pa*s*rserThanks for pointing that out. Fixed.
Thank you
👏🏼 Good project
I can’t understand why you are storing “shorturl” and “ uniquename”, shorturl consist of baseurl and uniqueurl
It can be generated dynamically when execution of geturl, because baseurl is constant for all links, no need to store it.
Also, if we change the domain, it can be used still
Nice one, thank you!
Btw, that error handling:
It is like programming version of: - What is wrong darling? - Nothing!
All good, just made me giggle a bit :)
Nice one bro
Thanks
The problem happens to be having to buy a short domain, to get a short URL.
Sometimes it is not necessary. At my student club, we are using rebrandly with subdomain of our website. example go.compec.org/xyz
It seems long, but easier than bit.ly or tinyurl. Domain part of short url includes “go” and our club short name.
We are happy with it.
Actually,
xxx.now.shseems shorter (with splat / regex), but I don't how short xxx can be.Also, now.sh supports database via
/apifolder (or serverless / buildpacks). I should try to make a url shortener someday, perhaps...Yes, you would have to set that up on the azure portal. Buy one and configure.
The short url is long
😄
Nice article. Though we'd need to make your Frontend more appealing.
Thank you!
Yes, you would have to get a short domain name and map it to the azure app.
For the frontend 😅, did not want to spend time on UI, just straight to implementation.
Awesome
Thank you
Good Job!!
Thank you
Loved this tutorial. The hardest part seems to find a cool short URL. The use of the fetch library in the frontend seems leaner than using jQuery AJAX.