Welcome to Lab 2 🎉
In this lab you’ll set up your coding environment, learn JavaScript basics, and build your first APIs with Node.js and Express.
This lab is divided into 5 parts:
-
Part 0 – Preparing your workspace
Install Visual Studio Code and Node.js, then test that everything works.
-
Part 1 – JavaScript fundamentals
Write and run your first JavaScript programs with Node.js. Learn about variables, data types, objects, arrays, and JSON.
-
Part 2 – Introduction to Node.js with Express
Create your first Node.js project, install Express, and build a simple web server.
-
Organize your Express app with routers to keep your code clean and scalable.
-
Put everything together: build a mini University API with routes for students.
You can find the exerice solution here.