diff --git a/src/content/3/en/part3b.md b/src/content/3/en/part3b.md index 3502b946829..7f9e4589c39 100644 --- a/src/content/3/en/part3b.md +++ b/src/content/3/en/part3b.md @@ -7,10 +7,9 @@ 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 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: +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' @@ -100,6 +99,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!