Project: Pokemon Downloader CLI - Part 3 Saving Files and Program Loop - Javascript In Depth
This is part 3/3 for our Pokemon CLI Project. In the previous video we created the inquirer prompts and setup the initial parts of our program loop. In this video, we'll work on saving the stats as well as images of the pokemon to our file system using the node 'fs' and 'path' libraries.
We start by defining our approach and process then diving in to how to create a folder in NodeJS. We re-use this across all the future functions where we split up saving the stats file to a text, and saving artwork and sprites to image files on our disk. We get a chance to talk about program and function design and efficiency as well.
Finally, we add this logic to our application loop and test it out!
This is the second project we go through together in this series and is meant to pull together a lot of the concepts we learned in the second part while building on the concepts from our introduction. You'll want to make sure you're comfortable with the exercises and concepts we've gone through up until this part of the series. This project is structured in a very similar way to how you'd work on an application in the real world either on your own or on a team. You'll need to look things up on Google, make mistakes, fall off the horse and get back on multiple times to reach the finish line!
This is part of a series where we go over Javascript in depth to learn programming concepts as well as web development: https://youtube.com/playlist?list=PLovN13bqAx7D_MFjL0PHnCkYAHMSO8-kU
Chapters:
00:00 Introduction
00:42 Recap
03:00 Breakdown and Planning
06:00 Creating a Folder
24:58 Saving the Pokemon Stats
42:36 Fetching and Saving Pokemon Artwork
50:00 Helpful Function to Save Images
55:05 Saving Pokemon Sprites
1:09:52 Putting It All Together
1:22:24 Next Steps
? Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/javascript-in-depth
? Come join us on Discord to chat with a like-minded community about tech and learning: https://discord.gg/K4nkugP7Gd
?Support the channel and content through Super Thanks, Channel Memberships, or on Patreon: https://www.patreon.com/TechWithNader
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Project: Pokemon Downloader CLI - Part 3 Saving Files and Program Loop - Javascript In Depth», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.