← Back to Projects

Todo List CLI on the Cloud

Goal

4Geeks Coding Projects tutorials and exercises for people learning to code or improving their coding skills

Difficulty

easy

Repository

Click to open

Video

Not available

Live demo

Not available

Average duration

8 hrs

Technologies

Todo List CLI in Sync with the Cloud!

Today you will be building a TODO list using API's to sync it with the cloud.

You will practice: 1. Python lists/arrays 2. Python Dictionaries 3. Using the requests package for API communication 4. HTTP Protocol

We are going to be using BreatheCode Todo's API to upload and download the TODO's, please refer to the HTTP and REST lessons as a quick background research for the project.

  • Get todo's by calling: [GET] /todos/user/<username>
  • Initialize the todo list: [POST] /todos/user/<username>
  • Update your todo list: [PUT] /todos/user/<username>

🌱 How to start this project

Do not clone this repository.

  1. The first step to start coding is cloning the python boilerplate on your local computer or opening it using gitpod.

a) If using Gitpod (recommended) you can clone the boilerplate by clicking here. b) If working locally type the following command from your command line: git clone https://github.com/4GeeksAcademy/flask-rest-hello.

πŸ’‘ Important: Remember to create a new repository, update the remote (git remote set-url origin <your new url>), and upload the code to your new repository using add, commit and push.


2. Install the dependency packages by typing: 


```sh
$ pipenv install --python 3
  1. Get inside your virtual environment by typing:
$ pipenv shell
  1. You can run the project by typing:
$ python src/app.py
  1. You can also run the tests for the project:
$ python src/test.py

πŸ“ Instructions

  • You app needs to work from the the command line like this.
  • The user should be able to add a new tasks.
  • The user can add as many tasks as they want.
  • The user can delete tasks by specifying the task position in the list.
  • The app must be able to save to todo's to the cloud using BreatheCode Todo's API
  • The app must be able to download (load) the todo's from the BreatheCode Todo's API

Goal

4Geeks Coding Projects tutorials and exercises for people learning to code or improving their coding skills

Difficulty

easy

Repository

Click to open

Video

Not available

Live demo

Not available

Average duration

8 hrs

All rights reserved, 4Geeks LLC 2021. Read more about 4Geeks and what we are going here.