From 5451bbe6706d94bfc23f54b7a7d420d8539deddf Mon Sep 17 00:00:00 2001 From: Tiisetso Dinoko Date: Sat, 23 May 2026 12:58:34 +0200 Subject: [PATCH 1/3] fix: clarify part3b backend reference to avoid ambiguity with json-server --- src/content/3/en/part3b.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/content/3/en/part3b.md b/src/content/3/en/part3b.md index 3502b946829..e1a581d87f5 100644 --- a/src/content/3/en/part3b.md +++ b/src/content/3/en/part3b.md @@ -7,9 +7,10 @@ lang: en
-Next, let's connect the frontend we made in [part 2](/en/part2) to our own backend. +Next, let's connect the frontend we made in [part 2](/en/part2) to the Express backend we built in part 3a. + +In part 2, the frontend fetched notes from json-server at http://localhost:3001/notes. The Express backend we built in this part has a slightly different URL structure — notes are now at http://localhost:3001/api/notes. -In the previous part, the frontend could ask for the list of notes from the json-server we had as a backend, from the address . Our backend has a slightly different URL structure now, as the notes can be found at . Let's change the attribute __baseUrl__ in the frontend notes app at src/services/notes.js like so: ```js From db374bf02775aae200f040cac9b17aff4674e70c Mon Sep 17 00:00:00 2001 From: Tiisetso Dinoko Date: Sat, 23 May 2026 14:07:48 +0200 Subject: [PATCH 2/3] feat: add Railway as a free NodeJS hosting option --- src/content/3/en/part3b.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/3/en/part3b.md b/src/content/3/en/part3b.md index e1a581d87f5..40912dd34b7 100644 --- a/src/content/3/en/part3b.md +++ b/src/content/3/en/part3b.md @@ -101,6 +101,7 @@ There are also some other free hosting options that work well for this course, a Some course participants have also used the following services: - [Replit](https://replit.com) +- [Railway](https://railway.app) - [CodeSandBox](https://codesandbox.io) If you know easy-to-use and free services for hosting NodeJS, please let us know! From 5e3c06857cc120e966d0559e000f15e906f2e1c0 Mon Sep 17 00:00:00 2001 From: Tiisetso Dinoko Date: Sat, 23 May 2026 22:31:27 +0200 Subject: [PATCH 3/3] fix: remove duplicate URL structure sentence in part3b --- src/content/3/en/part3b.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/content/3/en/part3b.md b/src/content/3/en/part3b.md index 40912dd34b7..7f9e4589c39 100644 --- a/src/content/3/en/part3b.md +++ b/src/content/3/en/part3b.md @@ -9,9 +9,7 @@ lang: en Next, let's connect the frontend we made in [part 2](/en/part2) to the Express backend we built in part 3a. -In part 2, the frontend fetched notes from json-server at http://localhost:3001/notes. The Express backend we built in this part has a slightly different URL structure — notes are now at http://localhost:3001/api/notes. - -Our backend has a slightly different URL structure now, as the notes can be found at . Let's change the attribute __baseUrl__ in the frontend notes app at src/services/notes.js like so: +In part 2, the frontend fetched notes from json-server at http://localhost:3001/notes. The Express backend we built in this part has a slightly different URL structure — notes are now at http://localhost:3001/api/notes. Let's change the attribute __baseUrl__ in the frontend notes app at src/services/notes.js like so: ```js import axios from 'axios'