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.

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 you’ve been using Github Pages or InfinityFree so far, I strongly encourage you to check out a different platform as practicing on a more advanced deployment strategy will help develop crucial skills!
  • Similarly, if you’ve used a specific provider such as AWS, try using a different one such as Azure.
  • You may use the free tiers of 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 deals and free trials!

Keep in mind labs are getting ‘lighter’ to allow you time to work on your final project! Make sure to be making consistent and steady progress on that as well.

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 from Video for Google Cloud

  • 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

General Tips

  • Check whether there are student deals or tiers available for your hosting platform, if so, use your student email address
  • If you’re required to add a credit card, set a calendar reminder for yourself to disable it after the course ends so you don’t get charged
    • Note: There are options such as Azure’s student pack that do not require a credit card
  • Review the documentation for your hosting service specifically– they have the most up to date info
  • Remember it can take a couple minutes for servers to update so don’t expect immediate/live updates like when we’re hosting locally
  • Use Piazza!!

What to Submit

Submit a link to your site along with a 3-5 sentence reflection on your experience (i.e., what did you learn? what were the most challenging parts?). Remember all submissions are done through Canvas.

Requirements

  1. Framework and/or library integration described in previous unit assignment is complete
  2. Site is fully functional (no technical nor accessibility errors or bugs)
  3. Site is hosted on the web and can be accessed via submitted URL
  4. Submission includes a 3-5 sentence reflection of deployment experience

Additional Resources

Below are some additional resources specific to this unit. Even more additional resources are available under the “Resources” tab of our site.

Hosting Tutorials

Internet Basics & Servers

Server Side Programming

results matching ""

    No results matching ""