Skip to main content
Before the first lab session, every student needs a working development environment. This page is a checklist you can walk through in class or assign as pre-work. Every tool here is used somewhere in the four Learning Outcomes.

Prerequisites

Step-by-Step Setup

1

Install Node.js (LTS version)

Visit nodejs.org and download the LTS version. LTS is stable and supported long-term. Avoid “Current.”
Alternative using nvm (recommended for managing multiple versions):
2

Initialize a project

3

Install VS Code and key extensions

Download from code.visualstudio.com, then install these extensions:Enable format-on-save: Settings > search “format on save” > check the box.
4

Install Postman

Download from postman.com/downloads. Create a free account and make a collection called “SWDBD401 APIs.”
5

Install a database (choose one or both)

This course uses MySQL for all database examples.
Secure the installation and set a root password:
Connect and create the course databases:
Install MySQL Workbench from dev.mysql.com/downloads/workbench for a visual interface.
6

Install Git

Verify Everything Works

Run this in a terminal. Every line should print a version number:

npm vs yarn Quick Reference

This course uses npm in all examples. Yarn works the same way; just swap the commands.

Key Terms

Always add node_modules and .env to your .gitignore file before the first commit.