Skip to content

Instantly share code, notes, and snippets.

View lem0n4id's full-sized avatar
🚀
Learning

Lenin Kennedy lem0n4id

🚀
Learning
View GitHub Profile
@lem0n4id
lem0n4id / rest-server.py
Last active December 15, 2021 15:17 — forked from miguelgrinberg/rest-server.py
The code from miguel grinberg's article on building RESTful web services with Python and the Flask microframework. See the article here: http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask
"""This script is a simple TODO web service.
A basic authentication has been implemented using flask_httpauth
API routes defined:
- get_tasks
- get_task
- create_task
- update_task
- delete_task