Web applications

This section lists some best practice for web applications.

Django boilerplate

For new applications we have a cookie cutter template which can be used to implement new projects.

REST API First

Start by designing the API for the application. Make sure that the API is self-documenting by including a swagger.json schema document at the root of the API.

Use Django

We usually use the Django web framework for writing webapps. Occasionally we will use a lighter framework like Flask for tiny web services.

Use Django REST framework

Since our new applications are likely to have REST APIs we usually use the Django REST Framework to implement them.