Skip to content

Supporting material for my blog post series on writing a web application from scratch in Python.

License

Notifications You must be signed in to change notification settings

Bogdanp/web-app-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A web app from scratch

Supporting material for my blog post series on writing a web application from scratch in Python.

You'll need Python 3.6+ to run any of this code. Start by reading scratch/server.py. Run the application with python -m scratch.

Tags

There is a tag for each part of the series:

  1. part-01 -- A simple file server.
  2. part-02 -- Abstractions!
  3. part-03 -- Handlers and Middleware.
  4. part-04 -- Application and Router.
  5. part-05 -- Coming soon...

Type-checking

This repo uses Python 3 type annotations which can be type-checked using mypy. Run pip install mypy and then mypy scratch to type check the code.

Testing

Run pip install pytest and then py.test.

License

web-app-from-scratch is licensed under Apache 2.0. Please see LICENSE for licensing details.

About

Supporting material for my blog post series on writing a web application from scratch in Python.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published