Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons


LoginGet Started

Register to 4Geeks

โ† Back to Projects

Todo List CLI on the Cloud

Difficulty

  • easy

Average duration

8 hrs

Technologies

  • HTTP

  • Python

    The Command Line

  • APIs

  • http Request

Difficulty

  • easy

Average duration

8 hrs

Technologies

๐ŸŒฑ How to start this project

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>
  • Initilize 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, 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 dependent packages by typing: 

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

๐Ÿ“ Instructions

  • Your app must work from the command line like this.
  • The user should be able to add 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 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

Signup and get access to similar projects

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies

Signup and get access to similar projects

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

8 hrs

Technologies

Difficulty

  • easy

Average duration

8 hrs

Technologies