Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion assignments/02-events-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
- Create an `assignment2` folder inside your `node-homework` folder if it doesn't already exist.
- Create an `assignment2` ```git branch``` before you start.
- **Testing Tool:** For testing POST requests and API endpoints, use the **Postman VS Code Extension**. Install it from the VS Code Extensions marketplace if you haven't already. This extension allows you to test localhost requests directly from VS Code without needing the desktop agent. For installation instructions, see the [Postman VS Code Extension documentation](https://learning.postman.com/docs/developer/vs-code-extension/install/).

## Postman Walkthrough (Watch This First)

Before we start working with routes and before we use the word “endpoint”, watch this quick Postman walkthrough:

Postman Walkthrough: [Postman in VS Code (Quick Walkthrough)](https://www.youtube.com/watch?v=NR-s-zANqZs)

**Quick note:** You don’t need to understand routing yet. The goal is just to learn how to send a request to `http://localhost:3000` and read the response (status + body).

### Task 1: Practice With An Event Emitter and Listener
- Inside your `assignment2` folder, create a file called `events.js`.
Expand Down Expand Up @@ -353,4 +361,4 @@ Create a pull request.
Your browser now has the link to your pull request.
Copy that link to be included in your homework submission form.

4️⃣ **Don't forget to include your video link in the submission form!**
4️⃣ **Don't forget to include your video link in the submission form!**