NA
nandoabreu/the-measuring-task
This task was developed for a Python Dev position I applied for a while ago
A Python Task
This task was developed for a Python Dev position I applied for a while ago. It runs a Flask web server to list some data and log request os that page. Jinja handles the templates.
Dependencies
Python 3.11 (tested OK / must work on any 3+)
+ requirements.txt
Instructions
Install project's requirements:
$ pip install -r requirements.txt
Structure a SQLite3 database and transfer data from csv:
๐ธ SQLite database will be replaced, if exists.
$ python task/sqlite3_prepare_and_transfer_data.py
Serve the database data in a web application:
๐น Run the next line and browse http on port 8080 (default).
$ python task/web_application.py 8080
Browse http at the used port to view data. The second URL will show logs:
๐น http://localhost:8080/list
๐น http://localhost:8080/log