Home

My Coding Journey

Django cheat sheet

Creating a base project: django-admin startproject projectname New app within existing project: python3 manage.py startapp appname You’ll want to add the appname to the end of the list of INSTALLED_APPS in projectname/settings.py Django uses Model View Controller pattern – URL Pattern maps to Views, which return HTML and can make use of Models and Templates.…

Working with Docker

Reference here First – what is docker? The gist is that it’s somewhat of a replacement for clunky linux virtual machines that you might use just for programming / software development. There are two main parts – Containers and Images. A Container is like a tiny, minimalistic virtual machine. It creates a small space to…

Testing in Flutter

Unit tests: You can use the flutter_test library. Cheat sheet below group((String) description, () {}) – function allows you to create a group of tests. The tests go inside the curly braces, of course. test((String) description, () {}) – inside the group body, used to run a synchronous test testWidget((String) description, () async {}) -…

Something went wrong. Please refresh the page and/or try again.