https://github.com/breatheco-de/exercise-todo-list-cli-with-cloud
💻📹 Video Tutorial: Today you will be building a TODO list using API's to sync it with the cloud.
https://github.com/breatheco-de/exercise-todo-list-cli-with-cloud
learning-by-doing learning-exercise learning-python python python-tutorial python3 todo-list todoapp todolist tutorial tutorial-exercises video-tutorial
Last synced: 1 day ago
JSON representation
💻📹 Video Tutorial: Today you will be building a TODO list using API's to sync it with the cloud.
- Host: GitHub
- URL: https://github.com/breatheco-de/exercise-todo-list-cli-with-cloud
- Owner: breatheco-de
- License: other
- Created: 2020-02-25T18:56:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-01T14:09:55.000Z (about 1 year ago)
- Last Synced: 2025-02-01T15:22:56.589Z (about 1 year ago)
- Topics: learning-by-doing, learning-exercise, learning-python, python, python-tutorial, python3, todo-list, todoapp, todolist, tutorial, tutorial-exercises, video-tutorial
- Language: Python
- Homepage: https://projects.breatheco.de/interactive-coding-tutorial/easy/todo-list-cli-with-cloud
- Size: 481 KB
- Stars: 0
- Watchers: 6
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: README.es.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ¡Lista de tareas pendientes CLI sincronizada con la nube!

Hoy construirás una lista TODO usando API's para sincronizarla con la nube.
Practicarás:
1. Listas / arrays de Python.
2. Diccionarios de Python.
3. Usar el paquete requests para la comunicación de API.
4. Protocolo HTTP.
Vamos a usar la [API de TODO de BreatheCode](https://playground.4geeks.com/apis/fake/todos/) para cargar y descargar los TODO, por favor consulta las lecciones de HTTP y REST como una investigación de fondo rápida para el proyecto.
- Obtener TODO llamando: `[GET] /todos/user/`
- Inicializar la lista TODO: `[POST] /todos/user/`
- Actualizar tu lista TODO: `[PUT] /todos/user/`
## 🌱 Cómo comenzar este proyecto
No clones este repositorio.
1. El primer paso para comenzar a codificar es clonar el [boilerplate de python](https://github.com/4GeeksAcademy/flask-rest-hello) en tu computadora local o abrirlo usando gitpod.
a) Si usas Gitpod, puedes clonar el boilerplate haciendo [clic aquí](https://github.com/4GeeksAcademy/flask-rest-hello).
b) Si trabajas localmente, escriba el siguiente comando desde tu línea de comandos: `git clone https://github.com/4GeeksAcademy/flask-rest-hello`.
💡 Importante: recuerda crear un nuevo repositorio, actualizar el remoto (`git remote set-url origin `) y cargar el código a tu nuevo repositorio `add`, `commit` y `push`.
2. Instala los paquetes de dependencia escribiendo:
```sh
$ pipenv install --python 3
```
3. Entra a tu entorno virtual escribiendo:
```sh
$ pipenv shell
```
4. Puedes ejecutar el proyecto escribiendo:
```sh
$ python src/app.py
```
5. También puedes ejecutar las pruebas para el proyecto:
```sh
$ python src/test.py
```
## 📝 Instrucciones
- Tu aplicación debe funcionar desde la línea de comandos [así](https://github.com/breatheco-de/todo-list-cli-with-cloud/blob/master/preview.gif).
- El usuario debe poder agregar nuevas tareas.
- El usuario puede agregar tantas tareas como desee.
- El usuario puede eliminar tareas especificando la posición de la tarea en la lista.
- La aplicación debe poder guardar los TODO en la nube usando la [API de TODO de BreatheCode](https://playground.4geeks.com/apis/fake/todos/)
- La aplicación debe poder descargar (cargar) los TODO desde la [API de TODO de BreatheCode](https://playground.4geeks.com/apis/fake/todos/)