New Course Alert - Electron From Scratch: Desktop Apps With JavaScript

Traversy Media · Advanced ·🏗️ Systems Design & Architecture ·6y ago

Key Takeaways

The video introduces a new course on Electron, a framework for building cross-platform desktop applications with JavaScript, and demonstrates three example applications: Image Shrink, SysTop, and Bug Logger, built using Electron, React, and MongoDB.

Full Transcript

[Music] hey what's going on guys so I just published my electron from scratch course on udemy and as usual pay no attention to this price right here I have a code in the description a five-day code for $9.99 and a 30 day code for I believe $13.99 so I created this course because electron is something that I've always been interested in I think it's fantastic that we can create desktop applications with JavaScript and I mean some of my favorite applications are actually built on electron like vias code slack discord so this is a project base hands-on course like most of my courses and we're going to build three different cross-platform applications we're going to build them from scratch and then package them up and I'm going to give you a demo of all three in this video all right and it's not it's not published yet it didn't you can't even see the content here just yet but by the time you're watching this video it will be available and I'll have the link in the description so the three applications will be building I already have packaged up and I have right on my desktop here so the first one is called image shrink and I'll go ahead and open it up so this is an application to shrink images to optimize images for websites when you upload an image that is quite large it really slows down your site so this is a nice little tool to have to just optimize them and make them smaller and you can basically just choose an image so I'm gonna grab this this test image that I have here this is on my desktop and just to check out the size so if we go to get info and we look at the size of this image it is right here 197 KB 197 kilobytes and I have it loaded here and then we can slide this to change the quality so 100 would be you know relatively the same size but we're gonna go down to let's say 25 and if I click resize what's going to happen you can see image resize to 25 percent we get a little alert we're using materialise for the UI here and this path this output path just opens automatically and we have our image here and you can see it's been resized to 46 Kb okay so depending on where you put this you know if I put it way down here to like 6 and resize you can see that it changed to 17 Kb now if I open this so this is the resized image and you can see that that really doesn't look good so let's go ahead and make this like let's do 25 okay so open this yeah preview okay so this doesn't look bad let's open up the original okay so we set it to 25 percent quality and that's the difference and there's a very large size difference but I mean the quality isn't isn't bad for 25 percent so I think it's a really useful application just to have on your desktop and if you need to upload images to a website and shrink them then you can do that really easily alright so let's go ahead and close that up and the next one that we're going to create the second project is called sis top which is a system and CPU monitor so this is actually a tray application if I double click it it opens up but it doesn't open the window by default it just sits in the tray so if I click on the tray icon it'll open up the interface and it's just going to watch my CPU gives me my CPU model which is an Intel Xeon and every two seconds this will update and this this progress bar will update we can also we have a little tab interface here we can view the system info like computer name it'll show the system uptime that will constantly update and then I have some settings so we're gonna be working with notifications every time the CPU goes over a certain percentage which by default is set to 80 it's going to give us an alert and then we can also change the frequency so what this means is after five minutes it'll show an alert again if it hits this number and can change this as well as the overload so I'm going to change this to five just to give you an example so I'll save that and right away we should see an alert there we go so CPU overload it's over five percent and if we look over here you'll see that this progress bar will be red any time it's over five percent say it's green now and as soon as it hits five percent it goes over and again it updates every two seconds so we can go ahead and set this back and we're going to create a store to hold our data inside of a file in our home directory okay so be working with data there's also a menu item which you guys can't see but I have a view item to toggle the navigation just to show you we can integrate the menu all right so that's the second application and if I X out it doesn't quit it'll still show notifications and all that so we have to just manually quit up here now the last one is called bug logger and it's just to track logs now this actually uses react we're going to set up react with electron and also MongoDB so this is connected to a MongoDB Atlas database which is a cloud database so if you distribute this app to your team members they're gonna see the same logs the same data which right now is empty so I'll just say this is a test log and you can put a user in here so you know who who added it and you can choose a priority we'll say moderate and we're getting a little alert here and it shows up in the table and it's stored in my MongoDB database okay we'll say another log and say maybe Kate uploaded this one and add that and there we go so we can add logs we can remove them and it'll get removed from the database there's also a menu item which again you can't see but there's a logs menu item and I have a clear logs option that will just go ahead and clear all the logs from the database okay so we're gonna set up react and webpack basically in our renderer process here and communicate with the main process which will then communicate with our database through Hmong okay so those are the three applications will be building I know they're not giant applications but I think that you'll learn quite a bit and after the course you'll be able to you know build your own desktop applications which is really cool and we're gonna package them all up so you have these executables completely cross-platform and that's it so if you guys are interested I have the link in the description and that's it thanks for watching

Original Description

5 DAY PROMO - $9.99 https://www.udemy.com/course/electron-from-scratch/?couponCode=DISCOUNT5DAY 30 DAY PROMO - $12.99 https://www.udemy.com/course/electron-from-scratch/?couponCode=DISCOUNT30DAY
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Traversy Media · Traversy Media · 0 of 60

← Previous Next →
1 Changing Your DNS/Nameservers
Changing Your DNS/Nameservers
Traversy Media
2 Create a MySQL database in cPanel
Create a MySQL database in cPanel
Traversy Media
3 Install & Uninstall Joomla Extensions
Install & Uninstall Joomla Extensions
Traversy Media
4 Adding and linking an article in Joomla
Adding and linking an article in Joomla
Traversy Media
5 Create a Joomla Blog
Create a Joomla Blog
Traversy Media
6 Import & Export A MySQL Database
Import & Export A MySQL Database
Traversy Media
7 Use A Custom Font On Your Website Using CSS
Use A Custom Font On Your Website Using CSS
Traversy Media
8 Connect Joomla Site With Dreamweaver
Connect Joomla Site With Dreamweaver
Traversy Media
9 Remove Phoca Gallery 3.2.3 Footer Text
Remove Phoca Gallery 3.2.3 Footer Text
Traversy Media
10 Drupal 7 Security Update 7.19 to 7.20
Drupal 7 Security Update 7.19 to 7.20
Traversy Media
11 Add An Addon Domain In Cpanel
Add An Addon Domain In Cpanel
Traversy Media
12 Pull A Heroku Rails App and Database
Pull A Heroku Rails App and Database
Traversy Media
13 Create a Custom Joomla 2.5 Module - Part 1
Create a Custom Joomla 2.5 Module - Part 1
Traversy Media
14 Create a Custom Joomla 2.5 Module - Part 2
Create a Custom Joomla 2.5 Module - Part 2
Traversy Media
15 Create a Custom Joomla 2.5 Module - Part 3
Create a Custom Joomla 2.5 Module - Part 3
Traversy Media
16 Joomla SEO Tutorial - sh404sef Configuration
Joomla SEO Tutorial - sh404sef Configuration
Traversy Media
17 Font Dragr
Font Dragr
Traversy Media
18 Convert an HTML Template to Joomla 2.5/3.0 - Part One
Convert an HTML Template to Joomla 2.5/3.0 - Part One
Traversy Media
19 Convert an HTML Template to Joomla 2.5/3.0 - Part Two
Convert an HTML Template to Joomla 2.5/3.0 - Part Two
Traversy Media
20 Rockettheme Rocketlauncher   Joomla Site in Under 10 Minutes
Rockettheme Rocketlauncher Joomla Site in Under 10 Minutes
Traversy Media
21 JQuery FAQ Slider Tutorial
JQuery FAQ Slider Tutorial
Traversy Media
22 301 Redirect With htaccess File
301 Redirect With htaccess File
Traversy Media
23 Convert HTML to Wordpress Theme - Part 1
Convert HTML to Wordpress Theme - Part 1
Traversy Media
24 Convert HTML to Wordpress Theme - Part 2
Convert HTML to Wordpress Theme - Part 2
Traversy Media
25 Easy JQuery Widgets
Easy JQuery Widgets
Traversy Media
26 Codeigniter App Part 1 - Creating the Database
Codeigniter App Part 1 - Creating the Database
Traversy Media
27 Codeigniter App Part 2 - Installation and Configuration
Codeigniter App Part 2 - Installation and Configuration
Traversy Media
28 Codeigniter App Part 6 - Login/Register System
Codeigniter App Part 6 - Login/Register System
Traversy Media
29 Codeigniter App Part 7 - Models List CRUD
Codeigniter App Part 7 - Models List CRUD
Traversy Media
30 Codeigniter App Part 8 - Models Task CRUD
Codeigniter App Part 8 - Models Task CRUD
Traversy Media
31 Node.js Part 1 - Install NodeJS on Windows
Node.js Part 1 - Install NodeJS on Windows
Traversy Media
32 Node.js Part 3 - Building a Static Page Server
Node.js Part 3 - Building a Static Page Server
Traversy Media
33 Node.js Part 4 - NPM
Node.js Part 4 - NPM
Traversy Media
34 Node.js Part 2 - Install MongoDB in Windows
Node.js Part 2 - Install MongoDB in Windows
Traversy Media
35 Create a Joomla Quickstart with Custom Sample Data
Create a Joomla Quickstart with Custom Sample Data
Traversy Media
36 Install MongoDB in Ubuntu
Install MongoDB in Ubuntu
Traversy Media
37 HTML5 Web Storage
HTML5 Web Storage
Traversy Media
38 Create a Joomla Bootstrap Template From Scratch
Create a Joomla Bootstrap Template From Scratch
Traversy Media
39 Ubuntu Server 14.04 Setup Part 1 - Installation
Ubuntu Server 14.04 Setup Part 1 - Installation
Traversy Media
40 Ubuntu Server 14.04 Setup Part 3 - Set Static IP
Ubuntu Server 14.04 Setup Part 3 - Set Static IP
Traversy Media
41 Create A Wordpress Widget - Part 1
Create A Wordpress Widget - Part 1
Traversy Media
42 Create A Wordpress Widget - Part 2
Create A Wordpress Widget - Part 2
Traversy Media
43 Create A Wordpress Widget - Part 3
Create A Wordpress Widget - Part 3
Traversy Media
44 Create A Wordpress Widget - Part 4
Create A Wordpress Widget - Part 4
Traversy Media
45 Get Started With Sass on Windows
Get Started With Sass on Windows
Traversy Media
46 Build An HTML5 Template With Bootstrap and SASS - Part 1
Build An HTML5 Template With Bootstrap and SASS - Part 1
Traversy Media
47 Build An HTML5 Template With Bootstrap and SASS - Part 6
Build An HTML5 Template With Bootstrap and SASS - Part 6
Traversy Media
48 Build An HTML5 Template With Bootstrap and SASS - Part 4
Build An HTML5 Template With Bootstrap and SASS - Part 4
Traversy Media
49 Build An HTML5 Template With Bootstrap and SASS - Part 5
Build An HTML5 Template With Bootstrap and SASS - Part 5
Traversy Media
50 Build An HTML5 Template With Bootstrap and SASS - Part 3
Build An HTML5 Template With Bootstrap and SASS - Part 3
Traversy Media
51 Build An HTML5 Template With Bootstrap and SASS - Part 2
Build An HTML5 Template With Bootstrap and SASS - Part 2
Traversy Media
52 Build An HTML5 Template With Bootstrap and SASS - Part 7
Build An HTML5 Template With Bootstrap and SASS - Part 7
Traversy Media
53 Build An HTML5 Template With Bootstrap and SASS - Part 10
Build An HTML5 Template With Bootstrap and SASS - Part 10
Traversy Media
54 Build An HTML5 Template With Bootstrap and SASS - Part 8
Build An HTML5 Template With Bootstrap and SASS - Part 8
Traversy Media
55 Build An HTML5 Template With Bootstrap and SASS - Part 11
Build An HTML5 Template With Bootstrap and SASS - Part 11
Traversy Media
56 Build An HTML5 Template With Bootstrap and SASS - Part 9
Build An HTML5 Template With Bootstrap and SASS - Part 9
Traversy Media
57 Build An Audio Player Using HTML5 & jQuery - Part 1
Build An Audio Player Using HTML5 & jQuery - Part 1
Traversy Media
58 Build An Audio Player Using HTML5 & jQuery - Part 2
Build An Audio Player Using HTML5 & jQuery - Part 2
Traversy Media
59 Youtube Data API v3 & jQuery To List Channel Videos
Youtube Data API v3 & jQuery To List Channel Videos
Traversy Media
60 Using Bootstrap With Ruby on Rails
Using Bootstrap With Ruby on Rails
Traversy Media

The video introduces a new course on Electron for building cross-platform desktop applications and demonstrates three example applications, showcasing the framework's capabilities and potential use cases.

Key Takeaways
  1. Install Electron and set up a new project
  2. Build and package the Image Shrink application
  3. Build and package the SysTop application
  4. Build and package the Bug Logger application
  5. Integrate React and MongoDB into the Bug Logger application
💡 Electron allows developers to build cross-platform desktop applications using JavaScript, making it a versatile and powerful framework for desktop application development.

Related Reads

📰
Rust Went Mainstream While You Were Arguing About JavaScript Frameworks
Rust has gained mainstream traction while developers were distracted by JavaScript framework debates, highlighting its growing importance in the programming landscape
Medium · Programming
📰
FULL STACK Developer
Learn the basics of full stack development and its importance in the tech industry
Dev.to · Parthipan M
📰
Workflow Series (10): Enterprise Architecture — Registry, Composition, and Governance
Learn to manage multiple workflows with enterprise architecture principles, including registry, composition, and governance, to scale your workflow systems efficiently
Dev.to · WonderLab
📰
I Said “Just Add More Servers” in a System Design Interview. That Was the Wrong Answer.
Learn why simply adding more servers is not a viable solution to scaling issues and how to identify bottlenecks in system design
Medium · Programming
Up next
How to Forward Device Data Via HTTP/MQTT/Modbus/BACnet in EG71
Milesight IoT
Watch →