Metadata-Version: 2.1
Name: thflask
Version: 0.1.0
Summary: Flask application that implements an items database
Home-page: https://github.com/themisAnagno/th-flask.git
Author: Themis Anagnostopoulos
Author-email: thmanagnostopoulos@gmail.com
License: MIT
Download-URL: https://github.com/themisAnagno/th-flask/archive/v0.1.0.zip
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Requires-Dist: flask
Requires-Dist: flask-restful
Requires-Dist: flask-jwt
Requires-Dist: flask-sqlalchemy
Requires-Dist: uwsgi
Requires-Dist: psycopg2-binary


# Flask Application

A simple Flask Restful application that is using flask and flask-restful for creating the APIs and uWSGI as web server

## Requirements

* python >= 3.7
* pip3.7

## Install and run
### 1. Github
```
# Download the repository
git clone https://github.com/themisAnagno/th-flask.git
cd th-flask
# Install required modules and binaries
pip install .
# Run the application
thflask
```

### 2. PyPI
* Install from PyPI
```
pip install thflask
```
* Create the `uwsgi.ini` file:
```
[uwsgi]
http-socket = :$(PORT)
stats = :$(STATSPORT)
master = true
die-on-term = true
module = thflask.app:app
memory-report = true
```
* Run the application:
`uwsgi uwsgi.ini`


