Skip to content

Commit

Permalink
Merge pull request #11 from deimianvasquez/master
Browse files Browse the repository at this point in the history
updated link of api todo's
  • Loading branch information
alesanchezr authored Apr 5, 2024
2 parents b3eb8ed + 4ef574d commit 4a25f11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Debes hacer este ejercicio después de la [aplicación de la TODO list con React

Para esta segunda parte, sincronizaremos nuestra lista de tareas con una base de datos real, usando la siguiente [RESTful](https://4geeks.com/es/lesson/understanding-rest-apis-es) y API pública realizada para este ejercicio.

🔗 Clic aquí para acceder a la [documentación de la API del TODO-list](https://playground.4geeks.com/apis/fake/todos/).
🔗 Clic aquí para acceder a la [documentación de la API del TODO-list](https://playground.4geeks.com/todo/docs).

👉 [Aqui hay un video explicando como usar el TODO-List API con Fetch](https://www.youtube.com/watch?v=s6_-c0LFDRo).

Expand Down Expand Up @@ -43,7 +43,7 @@ Hay 3 momentos críticos en la línea de tiempo de la aplicación (denominado ti
Utiliza el siguiente fetch call para sincronizar tus tareas con el servidor cada vez que haya un cambio en la lista.

```js
fetch('https://playground.4geeks.com/apis/fake/todos/user/alesanchezr', {
fetch('https://playground.4geeks.com/todo/user/alesanchezr', {
method: "PUT",
body: JSON.stringify(todos),
headers: {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This exercise is meant to be completed after the [TODO list React application](h

For this second part, we will sync our to-do list with a real database, using the following [RESTful](https://4geeks.com/lesson/understanding-rest-apis) and public API made for this exercise.

🔗 Click here to access to the [TODO-list API documentation](https://playground.4geeks.com/apis/fake/todos/).
🔗 Click here to access to the [TODO-list API documentation](https://playground.4geeks.com/todo/docs).

This whole exercise is about asynchronous programming because the interactions *from* and *to* the server need to be done async. That way, the user does not have to wait for the information to arrive.

Expand Down Expand Up @@ -41,7 +41,7 @@ There are 3 critical moments in the application timeline (a.k.a. The runtime) to
Use the following fetch call to synchronize your tasks with the server every time there is a change on the list.

```js
fetch('https://playground.4geeks.com/apis/fake/todos/user/alesanchezr', {
fetch('https://playground.4geeks.com/todo/user/alesanchezr', {
method: "PUT",
body: JSON.stringify(todos),
headers: {
Expand Down

0 comments on commit 4a25f11

Please sign in to comment.