Getting started with RESTful APIs using the Flask microframework for Python

Getting started with RESTful APIs using the Flask microframework for Python In this tutorial we are going to learn how to create a simple REST API using Flask Python and SQL Alchemy. A good RESTful API structure imples the logical segmentation from the Models and the Data, but for this tutorial purpose we will create everything on the same file. One other thing that we will be using is a virtual environment because we can have a clean and isolated environment that doesn’t depend/share on other virtual environments' libraries and doesn’t access global installed libraries on your »

Nginx Configuration

We love Nginx, if only for it's small footprint. It became our HTTP server of choice, even for light CDN web apps or Wordpress and Ghost websites. As with every http server flavour, Nginx has its on set of quirks. After years of .htaccess hacking, we're sure you'll find some use in the latter tricks and modifications. Since you might want your local environment on the same http server as your webserver, we've created 2 articles, as much mutual aligned as possible. Nginx on OSX Nginx on Linux OSX Notes Set your custom local url It’s very simple to »

Nginx on Ubuntu

As quoted in our parent article, Nginx is our thing. In order to create similar working environments on both your local machine as your server(s), we've written 2 sibling articles as close aligned as possible. If you use a virtual webserver service like DigitalOcean, you can opt for a pre-installed LEMP stack (Linux, Nginx, MySQL and PHP). In that case you can ignore some of the bullets in this article - it's still useful to fine-tune your setup, and more important, it's always a good idea to know how your operating system works. Set up Install Nginx We are »