Skip to content

Latest commit

 

History

History
57 lines (32 loc) · 2.74 KB

week-1.md

File metadata and controls

57 lines (32 loc) · 2.74 KB

Exercises Week 1

Minor Web Development - Progressive Web Apps

Intention

This week we will convert the client side WAFS app to a server side version. We use Node.js & Express for this. We will ultimately also use npm as a build tool and use modules to perform optimization for performance.

Method

12 hours have been scheduled to work independently on this week's assignments this week. Try to plan your work wisely! In the meantime, progress is monitored in standup meetings and classroom meetings. At the end of the week you will be tested on theoretical knowledge and on the understanding of the code that you write according to the assignments.

Exercises

  1. Refactor the WAFS (or OBA) App to a server side version with Node.js & Express
  2. Set up tooling and write a good Readme.md
  3. Universal / Isomorphic app (optional)
  4. Static Site Generator / Serverless (optional)

Exercise 1: Refactor the WAFS App to a server side version with Node.js & Express

When refactoring, think carefully about the minimum viable product (or core functionality) of the app. In general this is an overview page, with a list of items that each refer to a detail page. Make sure that you first generate the HTML of the server, then you will see to what extent you can adjust the CSS and finally you try to improve the app as much as possible with client-side JavaScript.

Fork this repo for your exercises: Progressive Web Apps 2022

Document in your Readme.md how you will get the server up and running; git clone && npm start

Resources

Here are some resources to help you out:

Exercise 2: Tooling

Install and implement the tooling for your app. You can choose for example a workflow with NPM scripts.

Document in your readme.md how you have implemented the build

Resources

Here are some resources to help you out:

Exercise 3: Universal / Isomorphic app (optional)

With the arrival of Node.js it is possible to run JavaScript on the server. A Universal or Isomorphic app is an app whose (part of) the code can be used on both the client and the server. Try to turn your app into a universal app.

Resources

Here are some resources to help you out:

Exercise 4: Jam stack; Static Site Generators / Serverless (optional)

Node.js; seen that, done that, bought a t-shirt? Combine a static site generator with a serverless implementation.