Dockerized SQLite REST API using uWSGI, Nginx, Flask and Python

This tutorial demonstrates how to build a web server using uWSGI, Nginx, Flask and Python and deploy into a docker container. The web server runs a SQLite database and provides a REST API to run SQL queries from an HTML website. The focus in this tutorial will be on how to serve static files, setup the docker image and work with the REST API. 1. Prerequisites Docker and docker-compose (there are already plenty of tutorials about how to setup uWSGI and Nginx, so we use a predefined docker image which…

Read More