a

General info

This course is an introduction to modern web development with JavaScript. The main focus is on single page applications implemented with React and supporting them with RESTful and GraphQL web services implemented with Node.js. New for this year's course is a part on TypeScript.

Other topics include debugging applications, configuration, managing runtime environments and NoSQL databases.

Prerequisites

Participants are expected to have good programming skills, basic knowledge of web programming and databases, and mastery of basic use of the Git version management system. You are also expected to have perseverance and a capacity for solving problems and seeking information independently.

Previous knowledge of JavaScript or other course topics is not required.

Course material

The course material is meant to be read one part at a time, reading each part all the way through before moving on to the next one.

The material contains exercises, which are placed so that the preceding material provides enough information for solving each exercise. You can do the exercises as you encounter them in the material. It can also be beneficial to read all of the material in the part before starting with the exercises.

In many parts of the course, the exercises build one larger application one small piece at a time. Some of the exercise applications are developed through multiple parts.

The course material is based on incrementally expanding example applications, which change from part to part. It's probably best to follow the coding along, and independently make small modifications to the code. The code of the example applications for each step of each part can be found on GitHub.

Taking the course

The course contains ten parts, the first of which is numbered 0 for historical reasons. A part loosely corresponds to one week (averaging 15-20 hours) of studying but the speed of completing the course is flexible.

Proceeding from part n to part n+1 is not sensible before good enough know-how of the topics of part n has been achieved. In pedagogic terms, the course uses mastery learning, and the intent is for you to proceed to the next part only after doing enough of the exercises of the previous part.

You are expected to do at least all of the exercises that are not marked with a star(*). Exercises marked with a star count towards your final grade, but skipping them does not prevent you from doing the compulsory exercises in the next part.

The speed of completing the course is quite free, and the exercises can be submitted up until 23:59 10th January 2021.

Statistics on the time used for exercises which have already been submitted on different parts of this course can be found from the submission system.

Grading

The course can be taken as a shorter course worth 3 credits, or as the full course worth 5-9 credits depending on the number of submitted exercises.

The number of credits and the grade are determined by the number of submitted exercises, so also the exercises without stars count towards your final grade.

If you want university credits there is also a course exam, which must be passed. The exam does not count towards your grade. To register for university credits that are provided by Open university, you must have a Finnish social security number.

You can download the course certificate from the submission system once you have completed enough exercises for a passing grade. For getting the course certificate, a Finnish social security number is not needed.

3 credits

For three credits, you must submit all compulsory exercises (without stars) for parts 0-3.

For university credits the 3 credit course also requires passing the course exam. The exam is done on Moodle. You can access Moodle through the course page of the open university once you have signed up.

The last possible date for taking the exam is 10th January 2021. Note that you must sign up for the exam on 9th January 2021 at the latest.

Exam results can be found from the "my submissions" tab of the submission system no later than 4 weeks after taking the exam (exams might be marked slower during July). Remember to save your student number to the submission system!

The three credit course is graded pass/fail.

For the course certificate, you do not need to attend the course exam or register to the open university course.

The three credit course can later be extended to the 5-9 credit version. If you are working towards 5-9 credits from the beginning, there is no need to take the 3 credit course exam.

5-7 credits

For 5-7 credits the number of credits and the grade are based on the total number of submitted exercises for parts 0-7 (this includes the starred exercises).

Credits and grades are calculated as follows:

exercises credits grade
138 7 5
127 6 5
116 5 5
105 5 4
94 5 3
83 5 2
72 5 1

For university credits the 5-9 credit course also requires passing the course exam. The exam is done on Moodle. You can access Moodle through the course page of the open university once you have signed up for the exam.

The last possible date for taking the exam is 10th January 2021. Note that you must sign up for the exam on 9th January 2021 at the latest.

You can take the exam only after submitting enough exercises for 5 credits. In practice it is not wise to take the course exam immediately after the critical number of exercises has been submitted. The exam is the same for 5-9 credits. The exam does not count towards your grade.

Exam results can be found from the "my submissions" tab of the submission system not later than 4 weeks after taking the exam (exams might be marked slower during July). Remember to save your student number to the submission system.

For the course certificate, you do not need to attend to the course exam or register to the open university.

8 and 9 credits

By submitting at least 22/26 of the exercises for part 8 of the course, GraphQL, you can get one additional credit. Part 8 can be done any time after part 5, because its contents are independent from parts 6 and 7.

By submitting at least 24/27 of the exercises for part 9 of the course, TypeScript, you can get one additional credit. It is recommended that you complete parts 0-7 before taking part 9.

Exercises in parts 8 and 9 do not count towards the grade for the 5-7 credit course.

How to get your credits

Note that for getting university credits you need a Finnish social security number.

If you want to receive credits, save your University of Helsinki student number to the exercise submission system

fullstack content

If you are not a student at the University of Helsinki, you can get a student number by registering for the course through the Open university.

You will receive your credits after you have submitted enough exercise for a passing grade, passed the exam and let us know through the exercise submission system that you have completed the course:

fullstack content

You can view your grade in Weboodi approximately four weeks after notifying us.

Course certificate

Even if you do not register to Open university for the exam, you can download the course certificate from the submission system once you have completed enough exercises for a passing grade. For getting the certificate, a Finnish social security number is not needed.

Expanding a previously completed course

If you have already taken the course either as a MOOC or as a University Course, you can now expand your course.

Expanding Full stack open 2019

You can just pick up where you left! If you wish to resubmit a whole part, please contact the course personel with email matti.luukkainen@helsinki.fi or in Telegram @mluukkai. Tell us your github account and which parts to delete from your submissions.

Expanding other course instance

You can substitute parts of this course with parts you have previously submitted. For example, if you have previously completed the 3-credit course, you can substitute parts 0-3 of this course with the parts you have previously completed. You can only substitute parts in sequence, so you cannot for example substitute parts 0 and 2 but now complete part 1.

You can only substitute whole parts. For example, if you have previously done 50% of the exercises for a part, you cannot substitute those exercises but need to start over that part on this course.

"Credit transfer" of previously completed parts happens in the my submissions tab of the submission system.

If you have previously passed the course exam (excluding the exam for 3-credit course) and you are now expanding your course, you do not have to do the exam again.

Changed since the last year

There is only minor changes to parts 0-4. Part 5d, end to end -testing using the Cypress.io- library is almost completely new material. Using custom hooks has been moved from part 5 to part 7 with some new content.

Part 6, which is about Redux, concentrates on the new, hook-based, redux api. The material on react-router in part 7 has also been updated to use the hook-api. Semantic UI React has been replaced with the MaterialUI library due to lack of maintenance.

Part 8 on GraphQL has major updates especially on Apollo Client, which finally has stable hook based apis. Part 9 on TypeScript is completely new.

Last year's course material can be found from https://fullstackopen-2019.github.io/

Submitting exercises

The exercises are submitted through GitHub and marking the exercises as done on the submission system.

If you are submitting exercises from different parts to the same repository, use some sensible system for naming your directories. You can of course create a new repository for each part. If you are using a private repository, add mluukkai as a collaborator.

Exercises are submitted one part at a time. Once you have submitted exercises for a part, you can no longer submit any more exercises for that part.

A system for detecting plagiarism is used to check exercises submitted to GitHub. If code from model answers is found on GitHub, or if multiple students hand in the same code, the situation is handled according to the policy on plagiarism of the University of Helsinki.

Many of the exercises build a larger application bit by bit. In these cases, submitting only the completed application is enough. You can make a commit after each exercise, but that is not compulsory.

Sign up for the exam

For official university credits you need to pass the course exam that is done in Open university Moodle. Note that it is possible to register for exam only if you have a Finnish social security number!

Follow the instructions below to gain access to the course’s Moodle space:

  • Register for the course through the Open University
  • Wait for 24 hours and activate your University of Helsinki user ID. You will receive instructions on the activation process the following day.
  • Sign in on the Open university course page, where you will find the enrolment key for the Moodle space
  • Sign into the Moodle space with your University of Helsinki user ID and the enrolment key.

Please note!

  • Did you wait 24 hours as the above instructions say?
  • You need the Moodle access just for the exam, for the course certificate access is not needed!
  • Registration for the exam through the Open University is possible until Jan 9, 2021.
  • Credits for the course are only available to those students who have successfully registered for the course registration through the Open University and have completed the course according to the instructions.

Note that you also have to save your student ID number to the "my submissions" view in the submission system.

Full stack project

A Full stack project worth 1-10 credits will be available through the Open University.

For the project, an application is implemented in React and/or Node. Implementing a mobile application in React Native is also possible.

The number of credits is based on hours of work done. One credit is approximately 17.5 hours of work. The work is graded pass/fail.

It is possible to complete the project as a pair or a group.

For more information, see the open university page.

Interview promise

Our collaborators Houston Inc, Terveystalo, Elisa, Konecranes and Smartly.io have given a promise of a job interview for everyone who completes the course and the project work with maximum credits (9 + 10).

This means that the student can, if they so choose, sign up for a job interview with a collaborator who has given the promise. The teacher of the course, Matti Luukkainen, will send instructions to the student after the courses have been completed with maximum credits.

You need to be a resident of Finland in order to participate in these interviews.

Before you start

Using the Chrome browser is recommended for this course, because it provides the best tools for web development. Another alternative is the Developer Edition of Firefox, which provides the same range of features.

The course exercises are submitted to GitHub, so Git must be installed and you should know how to use it. Instructions for Git can be found in this tutorial.

Install some sensible text editor that supports web development. Visual Studio Code is highly recommended.

Don't code with nano, Notepad or Gedit. NetBeans isn't very good for web development either. It is also rather heavy in comparison to Visual Studio Code.

Also install Node.js. The material has been done with version 10.18, so don't install anything older than that. Installation instructions are here.

Node package manager npm will be automatically installed with Node. We will be using npm actively throughout the course. Node also comes with npx, which we'll need a few times.

Typos in the material

If you find a typo in the material, or something has been expressed unclearly, or is simply bad grammar, do a pull request to the course material in repository https://github.com/fullstack-hy2020/fullstack-hy2020.github.io. For example, the markdown source code of this page can be found in the repository at https://github.com/fullstack-hy2020/fullstack-hy2020.github.io/edit/source/src/content/0/en/part0a.md

At the bottom of each part of the material is a link Propose changes to material. By clicking the link you can edit the source code of the page.