a very simple implementation of web server supporting WSGI compatible applications
install the package
python3 -m pip install shittycorn
in main.py
:
import flask
app = flask.Flask(__name__)
@app.get('/')
def index():
return 'Hello, World!'
run the wsgi application:
python3 -m shittycorn main.app