Skip to content

afloury/Todo_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

TODO API

A todo backend API implementaion written in Python with Flask

Getting Started

Run main.py

Prerequisites

Flask and CORS is needed

Flask : http://flask.pocoo.org/ CORS : https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

Exemple in local (unix environment)

• To cleanly manage dependencies in Python, let's create a virtual environment

In project directory (Todo_API-master), do :

virtualenv venv
source ./venv/bin/activate
echo "Flask" > requirements.txt ; echo "flask-cors" >> requirements.txt
pip install -r requirements.txt

Installing

Run main.py

In terminal

python main.py

Access by :

http://127.0.0.1:5000/

Responses in JSON

Authors

  • Antoine FLOURY

About

Todo API written in Python with Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages