Today you will be building a TODO list using API's to sync it with the cloud.
You will practice:
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] /todos/user/<username>
[POST] /todos/user/<username>
[PUT] /todos/user/<username>
Do not clone this repository.
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$ pipenv shell
1$ python src/app.py
1$ python src/test.py