Hey there, we would be building a URL shortening service with NodeJS, Express, and MongoDB. We would then go ahead and deploy our web application t...
For further actions, you may consider blocking this person and/or reporting abuse
Great article! Congrats!
Two minor fixes:
package.json
file, it's missing a comma at the end of the line:server.js
there's an extras
onbody-pa*s*rser
Thanks for pointing that out. Fixed.
Thank you
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 :)
👏🏼 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
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.sh
seems shorter (with splat / regex), but I don't how short xxx can be.Also, now.sh supports database via
/api
folder (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.
Nice one bro
Thanks
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.
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