Click & Track services - REST API for short URL handling
Project description
Multi-domain permalink management engine. -
Click’n’Track provides simple REST API to manage permalinks with multi-domain web hosts capabilities.
Every permalink is defined by a hostname and a single path segment and a target URL. Hostname and path segment compose the permalink URL regardless the protocol scheme.
For instance, using the default hostname from domain mydomain.io and clickntrack you can compose permalink URLs http:\mydomain.io\clickntrack or https:\mydomain.io\clickntrack depending on the web host configuration.
When activating a permalink, Click’n’Track engine lookups at the database to retrieve the target URL, store few ‘hit’ data et redirect the HTTP client to the target URL using an HTTP 302 response.
For every ‘hit’, Click’n’Track grabs some basics data like the timestamp, the user-agent, the referer and the remote address of the client.
DISCLAIMER
Click’n’Track is not an enterprise class application: You run it in production at your own risk.
Click’n’Track is a sandbox project, I develop to learn Python programming and to discover MongoDB capabilities.
REST API
TODO: Coming soon !
INSTALLATION NOTES
Software requirements
Setup recommendations
As MongoDB engine, we recommend to use the MongoBD Atlas platform.
Unless Click’n’Track can run standalone, we recommend to the application a WSGI compliant web server like Apache HTTP server on a Linux server. When hosting Click’n’Track on an Apache HTTP server, it is required to enable mod_wsgi.
Configuration
TODO: Coming soon !
Running Click’n’Track standalone
TODO: Coming soon !
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file clickntrack-0.0.2.dev3.tar.gz
.
File metadata
- Download URL: clickntrack-0.0.2.dev3.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39384d41b42080fe815182b35522502bc79fbfff70799161284cba73ee34cfe3 |
|
MD5 | 5300c61c864d61c9c994532527da085b |
|
BLAKE2b-256 | 1fb86cad83947b5d4d04cc147e67811c5382f187a6cff74aa4d13b134413cb27 |
File details
Details for the file clickntrack-0.0.2.dev3-py3-none-any.whl
.
File metadata
- Download URL: clickntrack-0.0.2.dev3-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ecd1db8f7722e6a627f7ce3a95c152ffdc9d9196dd6bf764bec3c91730888d |
|
MD5 | 9a8c58ae402ed7e77c6374352a69e168 |
|
BLAKE2b-256 | 30b1c5347d6e9b012af15e726a24319887d6f59131161597c197690391a4f582 |