Best Flask open-source libraries and packages

Flask_api_template

Basic Flask API template to setup quickly your projects, right to the code, using Flask, Flask-Mail, Threads and SQLAlchemy
Updated 2 years ago

Flask API template 🤯🤯🤯

This is a public repository with contents of Flask Web Development, here you will find examples applied in a Restful API, and a basic and flexible structure to start your Flask apps.

Steps to run this app 👇👇👇


1- Check if you have Python (3.2 or +) installed

  • Type in your terminal (Windows):
  • $ python
    
  • Type in your terminal (Unix):
  • $ python3
    

    If no errors were shown, it means that you already have Python installed

    2- Installing Python (skip this if you already have Python installed)

    windows - https://www.python.org/downloads/release/python-392/

    linux - $ sudo apt-get install python3.9

    apple - brew install python3

    3- Cloning repo

    $ git clone https://github.com/josethz00/flask_api_template
    

    4- Enter in folder

    $ cd server
    

    5- Install the requirements

    $ pip3 install -r requirements/requirements.txt
    

    6- Start Flask server

    $ python3 run.py
    

    Check some default env variables (available on config/variables.py)

    Env Variable Default Value
    HOST '0.0.0.0'
    PORT '8080'
    DEBUG True