Skip to content

Instantly share code, notes, and snippets.

@sai-sondarkar
Last active May 19, 2019 09:21
Show Gist options
  • Save sai-sondarkar/32c512850f9423d8c97c9b064efc7a9b to your computer and use it in GitHub Desktop.
Save sai-sondarkar/32c512850f9423d8c97c9b064efc7a9b to your computer and use it in GitHub Desktop.
1. What is API ?
https://www.youtube.com/watch?v=s7wmiS2mSXY
IT is a waiter, which is going back and forth between our end applications and the DB server.
2. Types of API ?
SOAP stands for Simple Object Access Protocol. REST stands for REpresentational State Transfer.
SOAP is a XML based messaging protocol and REST is not a protocol but an architectural style.
SOAP has a standard specification but there is none for REST.
Whole of the web works based on REST style architecture. Consider a shared resource repository and consumers access the resources.
3. how can we make REST API ?
a. JS - Node.js NPM
b. PHP - Larvel
c. Java - Springboot
d. Python - Flask, Django
4. What is Flask ?
Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks.
Flask offers suggestions, but doesn’t enforce any dependencies or project layout. It is up to the developer to choose the tools and libraries they want to use. There are many extensions provided by the community that make adding new functionality easy.
https://pypi.org/project/Flask/
5. How can we get started with Flask in Python ?
Required - Text Editor, Python installed, Herkou account, terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment