CST336 - Week 5
- YZ

- Nov 24, 2020
- 1 min read
Updated: Dec 9, 2020
This week we learned about Node.js which lets JavaScript code execute on a server. It is managed by the npm, node package manager. Node is single-threaded and event-driven. This allows for many concurrent connections that can be processed without blocking and waiting. Node is great for apps that are collaborative or require interaction. We also learned about Express, which is an application framework for Node.js that is written in JavaScript. Web frameworks help build up your site by using existing structures so you don't have to start from scratch and can instead focus on customizations.
In Lab4 we used node and express to create a website with different routes. The site is about the solar system, with different pages for different planets. The lab instructions really guided us on how to build our first site using our new knowledge. Here is the link to the site: https://yoza20-lab4.herokuapp.com/
Homework 4 instructed us to reuse the same content from our first homework, but create routes, include partials, and get random data with faker. I put a random company name in the footer of my site to which I attributed the web design of the site. Here is the link to my site: https://yoza20-hw4.herokuapp.com/








Comments