Rui Santos from Random Nerd Tutorials writes:
In this project you’ll create a standalone web server with a Raspberry Pi that can toggle two LEDs. You can replace those LEDs with any output (like a relay or a transistor).
In order to create the web server you will be using a Python microframework called Flask.
More details at Random Nerd Tutorials homepage.
Check out the video after the break.