You will practice:
- Python lists/arrays
- Python Dictionaries
- Using the requests package for API communication
- 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>
- Clone this repository:
$ git clone https://github.com/breatheco-de/todo-list-cli-with-cloud
- Install the dependecy packages by typing:
$ pipenv install --python 3
- Get inside your virtual environment by typing:
$ pipenv shell
- You can run the project by typing:
$ python src/app.py
- You can also run the tests for the project:
$ python src/test.py
- 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