Skip to main content

Flask application that implements an items database

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for thflask, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size thflask-0.1.1.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View
Filename, size thflask-0.1.1-py2.py3-none-any.whl (12.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page