Skip to main content

Development http proxy for SPA applications

Project description

pokie-mullet

pypi license

Barebones HTTP proxy for Python-powered SPA applications - Mounts a Flask or Pokie application on a slug (/api by default) and proxies all other requests to a running HTTP server (such as a NodeJS dev server), or to a static SPA on a folder.

Basic Usage

Show usage parameters:

$ mullet --help

Proxy a local Flask or Pokie API application from main.py and a development SPA application running on http://localhost:3000:

$ mullet

Proxy a local Flask or Pokie API application and a development SPA application locally installed on ../dist:

$ mullet -fe ../dist/

Proxy a local Flask or Pokie API application on "/slug" and a development SPA application running on http://localhost:3000:

$ mullet --slug "/slug"

Project details


Download files

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

Source Distribution

pokie-mullet-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file pokie-mullet-0.1.0.tar.gz.

File metadata

  • Download URL: pokie-mullet-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pokie-mullet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e8f08e0a8bd353e6c4b0a82f5937195a4e8d76615cd1514ad2c730bed1948b7d
MD5 323552a247125fb14889a6b20d953b3b
BLAKE2b-256 718353d40392feed326ad935d31a12577e321497e756f2326b5f2a80caef37e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page