Skip to content

SpaceHotDog/Flask_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


                                        # Flask RESTful API

Prerequisites

Python3 - A programming language that lets us work more quickly (The universe loves speed!).

Flask - A microframework for Python based on Werkzeug, Jinja 2 and good intentions

Virtualenv - A tool to create isolated virtual environments


Write a test. – The test will help flesh out some functionality in our app.

Then, run the test – The test should fail, since there's no code(yet) to make it pass.

Write the code – To make the test pass.

Run the test – If it passes, we are confident that the code we've written meets the test requirements.

Refactor code – Remove duplication, prune large objects and make the code more readable. Re-run the tests every time we refactor our code.

Repeat.


Tutorials and etc:

https://scotch.io/tutorials/build-a-restful-api-with-flask-the-tdd-way #(Part 1) https://scotch.io/tutorials/build-a-restful-api-with-flask-the-tdd-way-part-2 #(Part 2) http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api https://techarena51.com/blog/buidling-a-database-driven-restful-json-api-in-python-3-with-flask-flask-restful-and-slalchemy/

Network based software architectures (REST Architecture):

http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm

Alembic Docs:

https://pypi.python.org/pypi/alembic

Test Suite:

Postman: https://www.getpostman.com/postman

Curl: https://curl.haxx.se/


About

TDD Flask API (Bien tobara)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages