
Learn to build simple websites with node and run a node server as an absolute beginner, including downloading node, a text editor, and a terminal.
Check out my student Facebook Group!
It's a great place to get support for this course from me, to interact with other students, to post your projects and code, and to access cool coding freebies...
Join Now!
https://www.facebook.com/groups/codemycom/
Install node on windows, download the long-term support version, and set up the node package manager so you can run node from anywhere; restart your computer after installation.
Download and install the Sublime Text editor and the Git Bash terminal, then learn to use Git for version control and push code to GitHub and Heroku.
Run a simple Node.js test by creating a directory, writing a hello world JavaScript file, and executing it with Node.js to confirm it is installed and working.
Create your first basic Node.js server and web page. Learn how Node.js runs JavaScript on the server, prints hello world, and listens on port 80 for local host access.
Explain how to build a simple Node.js http server using the http module, handling requests and responses, sending text, and returning 200 ok on success.
Learn to use the URL module to parse the query string from a request URL, extracting year and month. Drive conditional logic with query parameters like year and month.
Learn to use the file system module fs to read an html file and serve it with a simple Node.js server, enabling a basic one-page website with index.html.
Learn to log server status with console.log in Node.js, showing server listening on port 80 and incoming requests with their URLs and favicon requests.
Learn to serve different web pages with Node.js by using the file system and URL parsing to map the last path segment to a file, with basic 404 handling.
Learn how to serve pages by URL in a Node.js server, map the root route to index.html with a simple if statement, and handle 404 not found errors.
Remove html from the url by appending the .html extension to the file name and adjusting routing. Map path segments like day or knight to day.html or knight.html.
Build a basic website by adding a Bootstrap navbar, switching to a dark bar, and wrapping content in a container for a clean, responsive layout.
Create an about and resume page by duplicating the nav bar, saving files as about.html and resume.html, and updating labels to about me and my resume.
Add a bootstrap jumbotron to index.html, customize text and links to create about and resume pages, and switch the button style to secondary for a simple multi-page site.
Master setting up version control with git and GitHub, generate SSH keys, and securely connect your terminal to push your basic Node.js site to hosting.
Initialize git in your project folder, configure your user name and email, and push commits to a GitHub repository on the master branch using your SSH key.
Install the Heroku tool belt CLI on Windows, add it to your path, restart the terminal, and verify the installation with heroku --version before pushing your app to Heroku.
Create and configure a package.json for Node.js app using npm init, set the main file Hello.js and dependencies, and learn when to include a proc file for deployment on Heroku.
Push your node app to Heroku by committing changes, configuring port with process.env.PORT, adding a Procfile, and deploying on the free plan with optional custom domains.
Gain lifetime access to over 60 coding courses, PDFs, and future additions with a one-time $49 membership. Enjoy a $200 discount for three days using coupon code Udemy at checkout.
In this course I'll teach you how to create a Node server, run a basic HTML website off of that server, and push it up to a webhost to make your website live online.
Aimed at the absolute beginner, you don't need any experience with Node.js at all in order to take this course. In fact, if you already know a little Node, this is NOT the course for you!
If you already know some Javascript, that's great; but you don't have to know Javascript to take this course, I'll walk you through everything you need to get started.
You'll learn:
Install Node
Install Git bash and Sublime Text Editor
Run a Console Log Node Test
Create Our First Basic Node.js Server
Explaining the Node Server Code
Exploring The URL Module Query String
File System and Index Page
Create Server Console Status Messages
Show Different Web Pages
Show an Index Page
Remove HTML from the URL
Create a Bootstrap Navbar
Create an About and Resume Page
Add a Bootstrap Jumbotron
Generate SSH Keys
Initialize Git and Github
Install the Heroku Toolbelt CLI
Create a Package JSON File
Push Our Code To Heroku
And More...
Join me today and let's learn Node!
-John Elder
CEO Codemy. com