Тёмный

Ionic 3 Mobile Weather App Build 

Traversy Media
Подписаться 2,3 млн
Просмотров 259 тыс.
50% 1

In this project we will build a fully working mobile weather app using Ionic 3 and Angular 4. We will be using the API from wunderground.com. we will create a provider to reach out to the API and return and display the data. We will also implement Ionic storage to save the location data.
CODE: Code for this project
github.com/bra...
SPONSORS:
DevMountain Bootcamp - goo.gl/6q0dEa
ANGULAR 4 FRONT TO BACK: FOR $10!
www.udemy.com/...
BECOME A PATRON: Show support & get perks!
/ traversymedia
ONE TIME DONATIONS:
www.paypal.me/t...
FOLLOW TRAVERSY MEDIA:
/ traversymedia
/ traversymedia
/ traversymedia

Наука

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

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 453   
@TraversyMedia
@TraversyMedia 7 лет назад
What do you guys think of doing this same project in React Native? Let's get to 1,000 likes and Ill do it :)
@YuraTokar
@YuraTokar 7 лет назад
YES !!! More React
@TraversyMedia
@TraversyMedia 7 лет назад
Let's make it 750 likes
@radlabman9031
@radlabman9031 7 лет назад
yes please! Also implement it with firebase
@MouradBougarne
@MouradBougarne 7 лет назад
I give a like to help other react users to get video, but as an Angular user, I will focus on it with Ionic till control it much more then move to React.
@mohamedelhirech1073
@mohamedelhirech1073 7 лет назад
You got one like from me :) a React-Native one would be great!
@rockboyjazz
@rockboyjazz 7 лет назад
Brad is the real deal. Probably one of the few teachers out there who I feel like paying to watch and learn their stuff.
@pemrograman-cepat3393
@pemrograman-cepat3393 Год назад
Brad is broad when teaching
@NicholasIbarra01
@NicholasIbarra01 7 лет назад
Fantastic video. To the point, let the code do the explaining, build a real application, and showed how to deploy. The hero we wanted and deserved. Great videos keep them up!
@aleferr3ira
@aleferr3ira 7 лет назад
Thank you for making these videos, Brad. My college classes suck, but I know I can always learn a lot here.
@saifali-fy6bl
@saifali-fy6bl 7 лет назад
Were you able to run this in the emulator ?
@aleferr3ira
@aleferr3ira 7 лет назад
saif ali yes. It took a while because my MacBook is old and Android Studio is so heavy, but it's working!
@Chandasouk
@Chandasouk 7 лет назад
You get to learn Ionic in your classes? That's pretty cool. I got stuck learning OOP with Java or C++ for the most part.
@aleferr3ira
@aleferr3ira 7 лет назад
Chandasouk no, I'm not learning Ionic there whatsoever. That's why I'm not happy with their old curriculum and keep trying to learn new things online
@Chandasouk
@Chandasouk 7 лет назад
Alessandra Souza Ah, ok. That's good. I never tried learning new stuff for fun online when I was in college. You can have a fancy looking resume/portfolio if you keep learning and making stuff. Best of luck to you! Random but are you Brazilian?
@trojanboy4382
@trojanboy4382 7 лет назад
every cases in my head have been solved in every videos which you explain in every tutorial. Thanks man, God bless you!
@CodingTutorials360
@CodingTutorials360 6 лет назад
The Angular documentation recommends doing async calls not in the constructor, but in the first lifecycle method following it in ngOnInit or I'm guessing for Ionic ionViewWillEnter since it is closest related lifecycle method. It makes it much easier for testing purposes is the general idea, but both will work. Got to get in on that async/await instead of then also haha. As always awesome tutorial. It got be up and running with my new project.
@jollystuff6775
@jollystuff6775 7 лет назад
I thought that after DevTips was over, that was all for me in youtube...but since i've found your channel...I get back to life! cheers mate, thk you so much..you're gonna make me get a new job :)
@onursaral7746
@onursaral7746 7 лет назад
Thank you Traversy Media. I watch your videos with curiosity and interest...And i'm making. You have a fluent and understandable expression.
@arnoldoumana3932
@arnoldoumana3932 7 лет назад
Congratulations Brad..!! you now have 150.000 + subscribers ... you have Great content and very easy teaching..
@ricardocolares716
@ricardocolares716 7 лет назад
Hey, you can't imagine how much u helped me now. I have a ionic project to develop and it's a simple app consuming some existem apis. Thank you so much for this!!!
@emreatl5093
@emreatl5093 7 лет назад
If you are using Angular 5 and having res.json() is not a function error; you can just use res => res(be sure response is json in other weather api websites.)
@Venessens
@Venessens 7 лет назад
thx u saved me
@FranBaena
@FranBaena 6 лет назад
You can even remove that part :)
@IrfanAliirfanmayo
@IrfanAliirfanmayo 6 лет назад
Property 'current_observation' does not exist on type 'Object'. when i create a build what's the issue. kindly explain this issue what's it.
@ONealOmbu
@ONealOmbu 6 лет назад
These people aren't consistent at checking their videos for helping people with issues...
@xinwan6866
@xinwan6866 6 лет назад
use (weather: any) => {this.weather = weather.current_observation;} inside the subscribe() call
@TrouvatkiDePercusion
@TrouvatkiDePercusion 6 лет назад
Absolutely the very best Ionic course in existence (and I've looked through all of them). This is even better than the official docs on IonicFramework.com. Once Ionic 4 is stable and released to the public, if you create a Udemy course for it that goes into extensive detail and teaches by making 5, 10, 15 different apps, I'd pay top-dollar for that course for sure.
@rashidquamar
@rashidquamar 5 лет назад
Great initiator for me Brad, bunch of thanks for comprehensive step-by-step details
@Daamilola
@Daamilola 5 лет назад
Awesome tutorial, I watched during the day, did an all-nighter and reproduced it. Because I already do angular though 😊
@Daamilola
@Daamilola 5 лет назад
I had to use another weather api, and it works fine.
@gl0boy764
@gl0boy764 7 лет назад
5am for me right now so I’ll go check this out when I’m fully awake lol! Seems promising though, thanks!
@aFragileBlueDot
@aFragileBlueDot 3 года назад
I think the Angular Ionic framework has been updated since this was released. . I love your work!
@mortenfriis
@mortenfriis 7 лет назад
Great video. Just want to add that you don't actually have to import the settings page and add it to the declarations/entryComponents. Just refer to it as 'SettingsPage' (with the ' ') instead of SettingsPage, and it'll still work.
@TraversyMedia
@TraversyMedia 7 лет назад
Thanks for the tip :)
@mortenfriis
@mortenfriis 7 лет назад
Traversy Media No problem. Tanks for the great videos. Instant subscriber.
@JimitPatel139
@JimitPatel139 6 лет назад
Helped me to understand Ionic. This was my first time in hybrid app and I actually understood lot of stuffs. I hope I would be expert in this like I am in Android. Enjoyed your video. Great content!!
@omerjan3118
@omerjan3118 5 лет назад
thank you so much man . you are my hero in coding and i have followed you step by step and finally got my Iweather app
@KiffinGish
@KiffinGish 6 лет назад
Wow, this is by far the best Ionic 3 training video I've seen so far, thanks!
@leetcodes242
@leetcodes242 6 лет назад
For anyone wondering, around 36:40 that we are updating the app.module.ts to contain the httpModule the code now should be: import { HttpClientModule } from '@angular/common/http'; instead of import { HttpModule } from '@angular/http'; and down in the @NgModule imports accordingly: imports: [ BrowserModule, HttpClientModule, IonicModule.forRoot(MyApp) ]
@pmlistener2
@pmlistener2 7 лет назад
Great video! Thanks for making it easy to follow. So many people make videos in which they cut and paste and then say, "See, it's that simple." You walked through each step, explaining along the way. Good job! I strayed from your example a little. I created a Location class with a constructor which compressed the setting of city and state to one line. export class Location { city: string; state: string; constructor(c: string, s: string) { this.city = c; this.state = s; } }
@markod3957
@markod3957 7 лет назад
Dude I flipping love your videos! I've bought 3 of your courses on Udemy and looking to get your newest one soon, keep up the good work
@TraversyMedia
@TraversyMedia 7 лет назад
Thank you for the support :)
@Jacsgaming
@Jacsgaming 5 лет назад
Why my toolbar and tabs doesn't change the colors ? I coded what you code in variable.scss . Maybe should i declare a variable where those toolbar and tabs place ? sorry for asking I'm just starting using Ionic for my Thesis project .. and this video really helps me .. My app was a Math Tutorial, Please ! Thank you.
@Jacsgaming
@Jacsgaming 5 лет назад
owh when I put the imports in Variable.scss my app doesn't generate
@Suro_One
@Suro_One 7 лет назад
Use $tabs-md-tab-color-inactive: color($colors, dark); (for 26:10)
@kaaroClips
@kaaroClips 6 лет назад
The real MVP. Thanks. Verified. For android : $tabs-md-tab-color-inactive: color($colors, dark); For ios: $tabs-ios-tab-color-inactive: color($colors, dark);
@melik2625
@melik2625 6 лет назад
Youre the maan
@luissantiago7978
@luissantiago7978 6 лет назад
Thank you
@Chandasouk
@Chandasouk 7 лет назад
Whoo, that new (or is it old) intro screen looks polished as hell!
@maverick_entertainment21
@maverick_entertainment21 7 лет назад
Dude. you are just rocking it. Great work. Great attitude. Love to see your videos.
@TraversyMedia
@TraversyMedia 7 лет назад
Thanks friend :)
@MrWyldWolf
@MrWyldWolf 6 лет назад
Great job on the video! My instructor recommended this video to learn to help build apps.
@RubenYebran
@RubenYebran 6 лет назад
If someone is having problems with .map you just need to import the map operator by pasting: import 'rxjs/add/operator/map'; on top of your code. check out line 3 in the video
@abhilashamansukh9807
@abhilashamansukh9807 5 лет назад
Thank you Brad. It was nice tutorial to get overview and basics of Ionic.
@ep6098
@ep6098 6 лет назад
Great video. Built the app alongside the video and everything went really well! Thank you so much for doing this project. I wrote this in 2018, with the latest version of ionic, so there are a few changes that need to be made for anyone who is just finding this now. - The API is deprecated, and now must be purchased, so i used openweathermap.org instead. Process is very similar, just different structure of JSON object returned; - The HttpModule is deprecated, and has been replaced by HttpClientModule, so import "import { HttpClientModule } from '@ionic/storage';" instead of whats in the video. (and add "HttpClientModule" to the imports array) Thanks again!
@azharfahmi2618
@azharfahmi2618 6 лет назад
Hello there E P.. i am trying this app using openweathermap too! But im stuck at displaying the json data. It appears at the console but not at the home.html. Please help.. :)
@drikast
@drikast 6 лет назад
how did you save the api url this.url='';? Also, how did you do the return for getWeather()? Little stuck
@tonylancer7367
@tonylancer7367 5 лет назад
@EP I think you meant to say to import it from '@angular/common/http'.
@dipanshu2207
@dipanshu2207 7 лет назад
Recently started watching your videos Brad, they are amazing. Thank you for all the great content. Could you please do more videos on Ionic in the future? Thanks again.
@adante407
@adante407 6 лет назад
Brad great tutorial, as always. Would you ever consider doing a tutorial on how to build a Web Developer Portfolio from scratch? I have looked on You Tube, Udemy, various platforms, and there are no tutorials on building a great portfolio from scratch. I'm sure you would make an excellent, and comprehensive Tutorial for all aspiring Web Developers.
@AlphaScorpii86
@AlphaScorpii86 7 лет назад
Thanks for the video! By the way, in VS Code, you can duplicate a line of code with Ctrl-C Ctrl-V at the end.
@jassochivisuals5113
@jassochivisuals5113 7 лет назад
Amazing job @TraversyMedia! I definitely learned so much from this tutorial. Thanks a bunch and keep up the great work!
@fun_twitch_clips
@fun_twitch_clips 7 лет назад
Is it weird to love this man
@saurabh8623
@saurabh8623 5 лет назад
yes
@klemonso
@klemonso 6 лет назад
great, if u are with angular 5, you should import { HttpClientModule } from '@angular/common/http'; not httpModule :D
@TDM87
@TDM87 6 лет назад
Thanks, fixed a problem I couldn't understand.
@nickben8467
@nickben8467 6 лет назад
not only that
@RaNaZaheer
@RaNaZaheer 6 лет назад
and .map function is no longer need it HttpClientModule automatically send json response. For more detail read here - stackoverflow.com/questions/45129790/difference-between-http-and-httpclient-in-angular-4/45129865#45129865
@janszczesniewicz5883
@janszczesniewicz5883 6 лет назад
Thanks, that was my problem!
@majeedk100
@majeedk100 7 лет назад
Very nice tutorial thank you. ...my Bro. .. I have question my dear I'm start learning ionic and react-netive little little. ..which one good for me create the mobile app. . Ionic or react-netive ..... thank You
@RageBasterd
@RageBasterd 7 лет назад
at around 30:20 you ponder why ionic doesn't add page to the app module but it does add the providers. the reason is the ionic lazy loading page system. when generation a page it creates a page module for that page and add's a decorator to the page component.
@erproerpro903
@erproerpro903 7 лет назад
Thanks for great job! Bought your courses recently. Superb content
@teamspanglish
@teamspanglish 6 лет назад
If you're getting an error at the part that starts at 36:30 try { HttpClientModule } from '@angular/common/http'; instead (and remember to put HttpClientModule in your imports)
@velociraptor5962
@velociraptor5962 6 лет назад
You're the man! :D Thanks. Now to continue with the rest of the tutorial...
@Nicholas-kq8bf
@Nicholas-kq8bf 7 лет назад
Thanks for your hard work Brad, recently purchased one of your udemy courses too. I can tell that you put a lot of work into your videos :)
@MrDLashley
@MrDLashley 7 лет назад
Hi Brad, Ref the icon color, just put: $tabs-md-tab-icon-color: color($colors, light); into the variables file... Dave
@MrVisheshsingh
@MrVisheshsingh 7 лет назад
Thanks Dave, that worked like a charm!
@Kco86
@Kco86 7 лет назад
God bless you man for all this hard work. very very goood job. regards from Costa Rica, pura vida!
@TraversyMedia
@TraversyMedia 7 лет назад
Thank you
@selfsage1
@selfsage1 7 лет назад
Traversy, how do you learn so fast wow man!! 😎 I am just starting to learn... Wow inspiration!!! 😎
@NickyKeyse
@NickyKeyse 7 лет назад
Great and useful video tutorial, thanks Brad. Can I suggest adding a part 2 with ability to get current location of user?
@aryanbaliyan3884
@aryanbaliyan3884 7 лет назад
This is my favourite channel on RU-vid
@edy231094
@edy231094 6 лет назад
1000x better and simpler than college class
@nickrobparkin
@nickrobparkin 6 лет назад
Great video. Can’t wait to try it out!
@afolabiblessing5970
@afolabiblessing5970 5 лет назад
Hi, this video is great, i love it. but while trying to follow the steps, i was unable to change the color of the header which i think is because of the upgrade of ionic 3. the content in my variable.scss is different from yours and when i try to run the code in the video to change the header color no changes. please help me through. or if there can be a new video for the same app using the latest ionic 3
@stringsc120
@stringsc120 6 лет назад
Very nice video! I just got the app not rendering after the saveForm() function got created and even though I deleted it and delete the HomePage import and try to get it to the last working state, I couldn't. Anyways that's an excellent video tutorial to keep us going on Angular and Ionic frameworks. Really nice!
@CatalinScaesteanu
@CatalinScaesteanu 7 лет назад
Great stuff. Did you get to test it on a device, if so what's your opinion regarding performance? If you're building the same app on react-native it would be nice if you could compare the end results on a device. Keep up the great work!
@bash740
@bash740 7 лет назад
Great video...Saw your visual studio video with visual studio community 2017 installation so are you using the same or its just visual studio code...
@jcf3300
@jcf3300 7 лет назад
@Traversy Media, this was sick. Keep em comin.
@dezagha4682
@dezagha4682 7 лет назад
Thanks so much man! Please do more mobile apps!
@ahmedtremo
@ahmedtremo 5 лет назад
Thanks man, you're a explanation is simple and easily followed
@oleksiichalyi5687
@oleksiichalyi5687 6 лет назад
Why don't you put space before curly bracket `{` and after colon `:` in SCSS ? However other things are great.
@hatimus
@hatimus 7 лет назад
Thank you so much for this video. I watched it three times and enjoyed every second of it.
@nathandowner6007
@nathandowner6007 6 лет назад
Is there a reason at 27:40 why the homepage is styled in the app.scss folder rather than in the homepage's personal scss folder?
@donttellem1079
@donttellem1079 7 лет назад
What's the difference between "$tabs-background" and "$tabs-md-background"? I used both and got the same results. I ask because if I'm working by myself, I want to know when to choose which.
@davidmaciel5944
@davidmaciel5944 4 года назад
Congrats !This project can build on ionic 4.6 ? Tks !
@christinaphillips6190
@christinaphillips6190 7 лет назад
Hey Brad, thanks for another amazing tutorial! What do you think of doing an AWS tutorial? Maybe a series? =D
@aashishgoyal1436
@aashishgoyal1436 7 лет назад
+1 for AWS tutorial
@cvtester7900
@cvtester7900 6 лет назад
Hello Sir Thank You for this tutorial...Sir want to ask which plugin can be used in creating an ionic app for deleting temporary files.?
@omer8836
@omer8836 7 лет назад
Watched it, Built it! :P Thank you Travery Media
@DaveHoran
@DaveHoran 7 лет назад
Great video, Brad. Thanks for putting this together.
@johnb1391
@johnb1391 7 лет назад
$list-md-tab-color-inactive will change the color of the inactive icons, Brad. Thanks for the video!
@claudiabina7552
@claudiabina7552 6 лет назад
Any idea ? Using Angular 5 and having the following: "Property 'subscribe' does not exist on type 'Observable'. Did you mean 'subscribeOn'?"
@KonstantinStanchev
@KonstantinStanchev 6 лет назад
Great video! How should you modify the constructor to include the API key in the header for the GET request?
@danielimodoye5688
@danielimodoye5688 6 лет назад
can i go through this video as a newbie in ionic..it will be my first ionic video i will watch...
@Wakeup45555
@Wakeup45555 5 лет назад
No more free api key for wunderground weather. What to do now?
@KarolGontarski
@KarolGontarski 7 лет назад
About 25:30 $toolbar-background: color($colors, primary); $tabs-background: color($colors, primary); $tabs-tab-color-active: color($colors, light);
@breezy9013
@breezy9013 7 лет назад
wonderful tutorial please make more apps from scratch tutorials
@90AlmostFamous
@90AlmostFamous 6 лет назад
this local storage thing is cache in the browser right ??? so if we clear cache the storage also gets deleted ?
@yashi5844
@yashi5844 6 лет назад
Please help me! My setting page is not working properly. The newly updated city and state is not getting updated and also page is not going to home page after it, as it should be.
@MushaGH
@MushaGH 7 лет назад
Cool, I've been waiting for this. Currently studying your angular video in udemy, it help me alot. Willing to buy your ionic 3 video on udemy :)
@Rassy_
@Rassy_ 6 лет назад
Learnt a lot, do a Flutter vid tutorial, its the future of mobile development and uses Dart(which has a syntax similar to Java & JavaScript partially combined)
@JSengenberger
@JSengenberger 6 лет назад
What type of keyboard are u using? sounds lovely
@MsSplashIt
@MsSplashIt 6 лет назад
Great tutorial. I would be great if you made a full fledge course on the latest ionic. I would definitely buy it ;-)
@carlosquevedo2767
@carlosquevedo2767 7 лет назад
I got this error, ...."No cities match your search query" type : "querynotfound"... may you suggest me where to look??
@cengytech497
@cengytech497 7 лет назад
Brad, you are amazing... i love all your videos, keep it up
@kkrstudios
@kkrstudios 7 лет назад
How can you change the toolbar text color?
@Mr.Thenula2011
@Mr.Thenula2011 6 лет назад
Dear Traves, can update this video to latest ionic and angular , since ,most of us getting errors due to updated angular and ionic. (ionic 3.9.2 ) (angular 5.2.9)
@randaqutub6275
@randaqutub6275 7 лет назад
awesome video :) however i am currently facing an issue where the content (weather data) in the home tab arent showing at all although i did exactly everything the same, yet still facing the issue... can someone help me here please
@virtualme9378
@virtualme9378 6 лет назад
where do i find the free weather API keys ?? @Traversy Media, can you plz suggest me ?
@bobthebuilder6715
@bobthebuilder6715 6 лет назад
Hi Traversy and Everyone, Great content! I'm an ionic developer but I get stuck on creating a solid Ionic 2/3 workflow for quality product development especially when working on teams and we creating an Ionic app. Do you have any workflow suggestions? For example, at the movement, my workflow is Jtest for unit testing, Airbnb ESLint style, and on our repo we have a Docker container that runs test and builds before we can merge to the production branch but I'm still not sure if this is rock solid because we don't sign the apk file on that is build on the cloud, anyway I just wanna hear your suggestions on a solid workflow for production app for ionic applications
@giovanigenerali
@giovanigenerali 7 лет назад
Great tutorial, thanks a lot Brad.
@davidli2522
@davidli2522 7 лет назад
love this stuff - going to buy some of your courses now
@musicpub5153
@musicpub5153 3 года назад
Hey would you be able to create a tutorial about creating an app with ionic and reactjs with great UI like on flutter
@vt4316
@vt4316 2 года назад
Would anyone have a link to the code? . I got to 50 minutes and lost the project folder back in February.
@JNuno007
@JNuno007 6 лет назад
Hi, can't import map from 'rxjs/add/operator/map' is there any other way? I'm using the latest version of Ionic and angular
@andreygazhala7577
@andreygazhala7577 6 лет назад
I have an error(Emulator: emulator: ERROR: Unknown AVD name [Nexus_5X_API_24], use -list-avds to see valid list.) when i try to launch the Emulator. Why it isn't correct name?
@RajagopalBaskaran
@RajagopalBaskaran 6 лет назад
Do you have any complete course on IONIC with Firebase on UDEMY?
@mhanym.7605
@mhanym.7605 6 лет назад
Im getting an error when targeting the weather.response (or other attribute of the object) variable in the template home.html. weather seems to be undefined when the app try to get data. need help
@weatherreminder5449
@weatherreminder5449 7 лет назад
Thank you! Great course! Simple and useful
@sveinsoermo9883
@sveinsoermo9883 6 лет назад
Just excellent as always....
@qasim01402
@qasim01402 6 лет назад
Wunderground is not providing free keys anymore, any alternate for key?
@coder236
@coder236 6 лет назад
Awesome video. Having trouble with the DEVAPP install that runs automatically. it's saying: [ERROR] An error occurred while running npm i (exit code 1): then tries to install node-sass@4.5.3 and node scripts/install.js any ideas what this error is about?
@vickylance
@vickylance 7 лет назад
Finally I was waiting for this for months
@davidshimbi
@davidshimbi 7 лет назад
thank so much Traversy Media!
@konstadinoschr
@konstadinoschr 6 лет назад
For those who having issues displaying the object, try this: Instead of: weather.display_location.full, Try: weather.current_observation.display_location.full
Далее
Angular In 60 Minutes
1:01:12
Просмотров 996 тыс.
React Native Crash Course
51:28
Просмотров 696 тыс.
ROBLOX TRAND AGAIN. Part 7☠️🗿🙋🏻‍♀️
00:16
Ionic React Crash Course
11:11
Просмотров 27 тыс.
How to Build a Shopping Cart with Ionic 4
26:32
Просмотров 31 тыс.
Build an Electron App in Under 60 Minutes
55:35
Просмотров 953 тыс.
JavaScript Fundamentals For Beginners
1:08:22
Просмотров 1,6 млн
Creating News Application With Ionic 4 and Angular
26:01
Ionic 2 Mobile App in Under 60 Minutes
57:44
Просмотров 321 тыс.
Ionic 4: Should you Build a Hybrid App?
10:35
Просмотров 255 тыс.
Weather App with Vue 3 Composition API and Ionic
1:19:59
Hardware tools repair tool high performance tool
0:16
The force of electromagnetic eddy currents
0:31
Просмотров 34 млн
Keyboard Cleaning Hack
0:36
Просмотров 7 млн
Bu telefonda oyun oynamak ister misiniz?
0:15
Просмотров 5 млн