The api.py script, is the REST API itself. I used the Flask framework for this, since that's the one I'm most familiar with. I had to make changes to the main todo_app.py script aswell. I added a user/account system. I also made it so it saves the tasks into a json database file. The todo.json, is the database for the tasks. The users.json, is the database for the users.
I'm still working on the documentation for the API. But each route in the api.py file, has a docstring which shows the basic usage of the method. I should be able to finish the documenation for the API, in about 5-7 days. The docstrings in the code, show curl usage, which can just be typed into the terminal.
The
api.py
script, is the REST API itself. I used the Flask framework for this, since that's the one I'm most familiar with. I had to make changes to the maintodo_app.py
script aswell. I added a user/account system. I also made it so it saves the tasks into a json database file. Thetodo.json
, is the database for the tasks. Theusers.json
, is the database for the users.I'm still working on the documentation for the API. But each route in the api.py file, has a docstring which shows the basic usage of the method. I should be able to finish the documenation for the API, in about 5-7 days. The docstrings in the code, show curl usage, which can just be typed into the terminal.