Uncategorized
Category: Uncategorized
-
Setup environment variables in Django
In this article, we’ll take a look at how to setup our Django project to utilize environment variables in Python. Hence, our Django application can use environment variables to retrieve sensitive information that it requires for correct operation such as SECRET_KEY. Simply explained, environment variables are a collection of dynamically named values that are kept…
-
Flutter State Management Using Provider
My first Flutter project would have been a lot better if I had a solid state management solution implemented for my Flutter app. Choosing the best technology for state management , would have made my life far more easier. So in this article we’ll be taking a look at how to manage state with the…
-
Basic Django Database Queries
In this article, we will take a look at basic Django database queries, throughout the tutorial I’ll provide you with helpful code examples that will aid your learning about basic Django database queries. Django ORM is a strong abstraction that allows you to store and retrieve data from a database without having to write your…
-
How To: Draw Charts Using fl_chart in Flutter
Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart are all supported by fl_chart, a highly customisable Flutter chart library. This post demonstrates how to create basic bar charts in Flutter using fl chart, one of the most widely used chart plugins today. Install fl_chart plugin into Flutter Import fl_chart Draw Simple Bar…
-
How To: Deploy Django using Docker & MySQL
During the setup of MySQL with Django using Docker, I ran into few issues. As a result, I decided to write this article to help people trying to figure out on how to deploy a Django app using Docker and MySQL. MySQL is a relational database management system that is free and open-source. “My” is…
-
Flutter Unit Testing Using Mockito
When writing a unit test for a function, you may wish to mock or stub the results of other functions called from the test function. This post demonstrates how to use Mockito to write a unit test for a Flutter application (or any other Dart-based application). Importing Mockito Into Flutter Project This tutorial makes use…
-
Upload Files In Google Drive Using Flutter
We’ll learn how to incorporate Google Drive into the Flutter app in this tutorial. We’ll learn how to use Flutter to upload, list, and download files to Google Drive. For authentication, I used Google Plus, and then I went to Google Drive. I looked into the Google Drive API, but ultimately decided that this method…
-
The Basics Of Django Web Development Framework
Django is a high-level Python web framework that promotes rapid development and simple, practical design. Django allows you to create better web apps faster and with less code. In this article, we will be taking a look at the basics of Django and it’s history. The Django Software Foundation owns the trademark Django, which is…
-
How To: Serve Django Static Files and Templates
CSS, JavaScript, and typefaces are all essential components of any modern online application. Django offers a lot of flexibility in terms of how these files are used, but this might be confusing for newbies. The Django web server will provide static files for local development, and only little configuration is necessary. The external package WhiteNoise,…
-
Run Code After Some Delay in Flutter?
In this article, we’ll look at how to run code in flutter after a delay. I’ve compiled a list of all viable solutions to this problem. Sometimes, it’s very important in app development to execute code after some time. Hopefully, this article will help you solve that problem. I’ll provide you all of the options…