Skip to main content
Welcome to the SWDBD401 teaching guide. This resource covers every topic across all four Learning Outcomes in a structured, code-rich format designed to support classroom delivery. Each page includes definitions, code examples, tips, and exam pointers.

Learning Outcomes

LO1: RESTful APIs

Set up Node.js, build an Express server, connect a database, and develop full CRUD REST APIs.

LO2: Security

Encrypt data, implement JWT authentication and role-based authorization, manage environment secrets.

LO3: Testing

Write unit tests with Jest, API integration tests with Supertest, and security tests using OWASP tools.

LO4: Deployment

Deploy to a Linux VPS with PM2 and Nginx, maintain a live app, and document APIs with JSDoc and Swagger.

Tools Covered in This Course

Each tab in the top navigation corresponds to one Learning Outcome. Work through them in order for the best learning progression.