Unit 7: Frameworks & Libraries, cont'd
Unit Essential Questions
You should use the questions below to assess your own learning and understanding of course material. These questions are also a good method of organization if you’re taking notes.
Server-Side Programming
- What is server-side programming and what purpose does it serve?
- Which frameworks require server-side programming and how can you tell?
Unit Readings
Server-Side Programming
If you’re using React, Node, or an API, you might already be familiar with setting up a local server to test your site. However, let’s dive more deeply into the uses and purposes of server-side programming.
- Read What is a web server? and/or Watch Servers: What are they?
- Read Introduction to the server side and/or Watch Static vs Dynamic Websites
- Read Client-Server Overview and/or Watch Client Server Architecture
- Read Server-side web frameworks
Unit Lab
This assignment will have you finish your site and upload it to the web. Make sure to refer to the unit readings for helpful reference material as well as additional resources.
Description
Finish the framework and/or library integration(s) you started for the previous unit, then host it on the platform of your choice.
- If your site does not require a server to run locally, you should be able to upload it to InfinityFree like we did in Unit 5.
- If you’re using Jekyll, you can host through Github Pages for free.
- Otherwise, you may use Google Cloud, AWS, Azure, or another platform of your choosing. You are not required or expected to pay for any service so take advantage of student and free trials.
Recorded Lecture
The lecture below provides additional information on hosting through Google Cloud using Node which you may find particularly useful for completing your assignment. However, if you feel comfortable with the material already, you may choose to skip watching this lecture. For the lecture below I followed the instructions for Quickstart: Deploy a Node.js service to Cloud Run, if you’re not using Node but want to use Google Cloud, follow Quickstart: Deploy a service to Cloud Run.
Tips
- Use your personal email address, not a school/organization one
- Enable billing for your specific project
- Remember to change your port for environment variables
- Try running your app after updating package.json to make sure it works before trying to deploy. If it doesn’t run, start by debugging the changes required for a module program
What to Submit
Submit a link to your site. Remember all submissions are done through Canvas.
Requirements
- Site is fully functional (no technical nor accessibility errors or bugs)
- Site is hosted on the web and can be accessed via submitted URL
Additional Resources
Internet Basics & Servers
- Read How the Web works
- Read Internet Basics - What is the Internet? and/or Watch What is the Internet
- Read Internet Basics and/or Watch Where does the Internet come from? and The Internet: IP Addresses & DNS
- Read What is the Internet Protocol? and/or Watch The Internet: IP Addresses & DNS