/flask-crud

Primary LanguagePythonMIT LicenseMIT

Flask Restful + PostgreSQL Example

Installation

  • Python >= 3.4

$ pip3 install -r requirements.txt

Running

To reset the db: $ FLASK_APP=crud.py flask resetdb

To run:

$ FLASK_APP=crud.py flask run

or

python3 crud.py

the REST service is avaiable in localhost:5000