https://github.com/jaredthecoder/knoxpy-05-04-17-flask-restful
Demo and Slides for my KnoxPy talk on Flask-RESTful and API Development with Flask
https://github.com/jaredthecoder/knoxpy-05-04-17-flask-restful
apis flask flask-restful knoxpy python python3 rest
Last synced: 10 months ago
JSON representation
Demo and Slides for my KnoxPy talk on Flask-RESTful and API Development with Flask
- Host: GitHub
- URL: https://github.com/jaredthecoder/knoxpy-05-04-17-flask-restful
- Owner: jaredthecoder
- License: other
- Created: 2017-05-01T01:28:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T07:20:24.000Z (almost 3 years ago)
- Last Synced: 2025-01-06T05:22:15.537Z (11 months ago)
- Topics: apis, flask, flask-restful, knoxpy, python, python3, rest
- Language: HTML
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
REST API Development with Flask and Flask-RESTful
---
The bare server we will start with is `server.py` and the final reference implementation is `reference_server.py`.
First, make sure you have Python 3.X, then install the requirements with `pip install -r requirements.txt`.
Now, to run the server, type `python server.py` in your terminal and then go to your browser at `127.0.0.1:5000`.
NOTE: You might need to have CORS disabled or a CORS plugin enabled (For example, on Chrome you can use https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?utm_source=chrome-app-launcher-info-dialog).
## Credits
Thanks to Miguel Grinberg for his original tutorial on this which I modifed.