Тёмный

URL Shortener Microservice | FreeCodeCamp 

Landon Schlangen
Подписаться 8 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

22 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@nachotrotta28
@nachotrotta28 Год назад
very good job you did, you helped me a lot to complete some of the challenges, you should upload more videos like this to help me to complete the challenges.
@landonschlangen
@landonschlangen Год назад
Thanks and will do! You sound like Yoda, "very good job you did" LOL
@tomasda7
@tomasda7 10 месяцев назад
Thank you, Haaland, you rock bro! PD: out of the joke, very useful video such as a guide, thanks.
@landonschlangen
@landonschlangen 10 месяцев назад
Thanks Tomasda! Haaland does it again, lol
@foofoo17
@foofoo17 9 месяцев назад
Thanks for the clear and easy to follow tutorial :)
@scramble5946
@scramble5946 Год назад
Awesome video but should have make a mongodb from start would be more helpfull🎉❤❤❤❤ love from india
@BestURLShortenerBioPageQRCode
Thanks for the video.
@RosalioMorales-w6q
@RosalioMorales-w6q 9 месяцев назад
Hi Landon!!!...thank you so much for all your support!!!...time ago I am following your videos because I am resolving the freeCodecamp challenges...at the minute 1:24 from video I can t find option urlshortner wich is located under option sessions advanced...could you help me?...thank you..
@landonschlangen
@landonschlangen 9 месяцев назад
IDK
@ComputerScience-p5g
@ComputerScience-p5g Год назад
I followed your code....it is showing error page : Hmm... We couldn't reach this Repl Make sure this Repl has a port open and is ready to receive HTTP traffic. Please help me to resolve this error.
@landonschlangen
@landonschlangen Год назад
Did you hit start?
@okaforchristian5340
@okaforchristian5340 8 месяцев назад
​​@@landonschlangenyes I did, same problem with me
@landonschlangen
@landonschlangen 8 месяцев назад
@@okaforchristian5340 I think repl has some bugs
@offorjohn
@offorjohn Год назад
Thanks just finished mine thanks.
@kenriquengwa4200
@kenriquengwa4200 Год назад
Thank you Landon this helped alot
@brucelee7782
@brucelee7782 6 месяцев назад
8:58 why the need to parse the url when the dns.lookup function accepts string already? Why not just dns.lookup(req.body.url, (req, res) => ...). Also the challenge didnt mention anything about using mongodb?
@landonschlangen
@landonschlangen 6 месяцев назад
Ok, how would you do it without using Mongodb?
@brucelee7782
@brucelee7782 6 месяцев назад
I mean the challenge didnt state that you have to use any kind of database, I just stored it in a object on the script itself like so: const table = { url: " ", short_url: 0 } and then I just redirect whenever and the challenge still passes like wth? app.get('/api/shorturl/:shorturlId', (req,res)=>{ // retrieve from table, redirect res.redirect(table.url) }) (dont even need to use the param) How would one even know that you needed to use a database to pass this challenge am I suppose to infer? It's not even written @@landonschlangen
@codex8797
@codex8797 8 месяцев назад
Thanks bro, really helped
@PedrocfnS
@PedrocfnS 6 месяцев назад
lol weird thing is that i dont see the secrets tab for this project on replit
@andres_developer
@andres_developer Год назад
Awesome!
@gracogen
@gracogen 10 месяцев назад
Always rushing, not considering slow learners like me. I would love to feed on your videos, but I always find it hard to understand, you don't pause to give a brief explanation. Good work though. Thanks
@lifeasdev7480
@lifeasdev7480 Год назад
input 123 on the post metod and see the error
@muhammadmuneeb3739
@muhammadmuneeb3739 Год назад
I followed your code to do this challenge but I'm getting an error "const db = client.db('URL_shotener" is not defined
@muhammadmuneeb3739
@muhammadmuneeb3739 Год назад
nvm, im dumb. in the variable declaration i used uppercase C for client and when using variable i used lowercase.
@landonschlangen
@landonschlangen Год назад
@@muhammadmuneeb3739 Glad you got that resolved! 😂
@muhammadmuneeb3739
@muhammadmuneeb3739 Год назад
Day 2 now and I still can't get it to work completely. It works as expected when i enter an invalid URL, displays the error message but when I enter a correct URL I keep getting the error: "const urlCount = await urls.countDocuments({}); ^ TypeError: urls.countDocuments is not a function at GetAddrInfoReqWrap.callback" I've tried googling and tried different things but nothing has worked yet. Any advice/suggestion would really help. Thanks in advance
@foofoo17
@foofoo17 9 месяцев назад
​@@muhammadmuneeb3739Make sure your DB and collection name on MongoDB matches what you declare in your code: const db = client.db("shortenedURL"); const urls = db.collection("urls");
Далее
Exercise Tracker | FreeCodeCamp
28:49
Просмотров 9 тыс.
MongoDB and Mongoose | FreeCodeCamp
27:10
Просмотров 7 тыс.
skibidi toilet 77 (part 3)
04:51
Просмотров 12 млн
FreeCodeCamp: URL Shortener Microservice
23:02
Просмотров 3,1 тыс.
Timestamp Microservice | FreeCodeCamp
13:35
Просмотров 6 тыс.
System Design: Design a URL Shortener like TinyURL
16:00
Learn JavaScript With This ONE Project!
1:10:26
Просмотров 723 тыс.
URL Shortener Microservice Solution FreeCodeCamp
33:37
Просмотров 1,2 тыс.
How To Build a URL Shortener With .NET and SQL Server
19:55
skibidi toilet 77 (part 3)
04:51
Просмотров 12 млн