A simple github action that automatically deploys Django app to heroku.
The github action can be found on github market place here.
The repo can be found here. I encourage and welcome all pull requests.
heroku-django-deploy uses three methods to deploy your Django app to heroku ie.
Unless you are using git make sure you have a Procfile or a Dockerfile or a heroku.yml in your project root directory together with the requirements.txt file.
By default if you do not specify the deployment option it will use git or else alternatively specify the use_git: true option in the with tag. …
Full stack application Part 2 with Spring boot and React js, with REACT REDUX , JEST Test Runner
Before we move on make sure you have folder structure that we ended up with in Part 1 of this series.
If not make sure you follow Part1 of this series where we setup our Spring Boot RESTful API Server and configured React with Babel and Webpack. …
Full-stack application with Spring boot and React js, with WEBPACK & BABEL. JUNIT Tests , RESTful API.
To start off with you can use Spring Initializr to get the Spring Boot project structure for you, and this can be found here
Once you get there in this case im using Maven , and that’s my personal preference over Gradle since it gives a nice xml layout for your setup , in terms of installing dependency , plugins etc. its essentially a tool for your project management, just like package.json for those who are familiar with node js.
You also need to add a couple of dependencies which…
A datastructure_collection written in Python which helps developers and big-data scientists in implementing fast and efficient algorithms.
The datastructure_collection has three data structure classes :
I Look forward to add more data-structures in the future.
Run the following to install package :
pip install datastructure_collection
To use this package :
from datastructure_collection import BinarySearchTreefrom datastructure_collection import HashMapfrom datastructure_collection import LinkedList
The Binary Search Tree operations and the time complexities are shown in the table below:
Flutter State Management can be somehow difficult to understand for a beginner and somewhat tiresome to learn as it has so many options to achieve the same thing. In this project i am going to show you how you can easily manage your states using Providers and ChangeNotifiers in flutter. I will be using a pop-up Dialog(modal) to manage my states.
Say you want to have a simple customer registration page and inside this page you have a floating action button that when pressed it pops up a modal / Dialog that allows you to capture fields like name, surname email address etc. …