A todo backend API implementaion written in Python with Flask
Run main.py
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
Run main.py
In terminal
python main.py
Access by :
http://127.0.0.1:5000/
Responses in JSON
- Antoine FLOURY