Learn how to add Docker to almost any Node project with simple boiler plate code.
Docker is a platform as a service which allows you to isolate an entire operating system via Linux containers. The files we create below are instructions for how Docker should build the Linux container. Dockerizing (is that a word?) your application should be the first step in your workflow as it provides a good base for your development and production environments. Onboarding new members to the project is easy too, just provide them the respective
Dockerfile and they’re good to go. …
A walk through on how to reverse a linked list and solve the LeetCode problem #206.
If you’re new to LeetCode I wrote a guideline towards my approach to solving coding interview questions which you can find here : https://email@example.com/a-starting-approach-to-solving-coding-interview-questions-633dc03cbb0c .
In addition if you’re new to linked lists I have a general overview of this data structure here : https://levelup.gitconnected.com/data-structures-linked-lists-a3cfb0b728ac .
An outline of my process for solving coding interview questions to empower those who are starting to tackle data structures and algorithms.
Disclaimer: I am not a coding interview question master! I’m in the process of applying for Software Engineering jobs and have been through some virtual tech screenings and interviews. This is not an end all be all for solving coding questions, but merely a guideline to help newer individuals feel confident in solving them.
When applying for Software Engineering positions, and other similar positions, it’s very common for the interviewer to ask you to solve a coding question…
An introduction to Binary Search Trees and some common methods for this data structure.
Binary Search Trees is a type of data structure to store data in an ordered way. This data structure consists of nodes, and each node has at most two child nodes. The order of these nodes follow a property called the BST property. The BST property states that the value of a left child node is less than it’s parent, and the right child node is greater than it’s parent. This property allows for fast operations, to which most of them fall within O(log(n)).
An introduction to Linked Lists and some common methods for this data structure.
A singly linked list is a collection of nodes where each node stores two pieces of information, some value and a pointer to the next node. There are doubly linked lists where the nodes contain pointers to the next and previous node. In a singly linked list, there is a head or root node where the linked list starts. In a doubly linked list, there is a head and tail node. The next pointer of the last node in a singly linked list will be NULL.
A simple example of refactoring function based views to a class based viewset using Django Rest Framework.
Django REST framework is a powerful and flexible toolkit for building Web APIs.
This isn’t a tutorial for using Django REST framework but you can follow one at, https://www.django-rest-framework.org/tutorial/quickstart/ .
Django is a powerful framework for creating web applications with very detailed documentation. You can create both the front-end and back-end of an application only using Django, but sometimes it may be beneficial to incorporate a front-end framework in the mix. …
Using Django’s built in User model to create a registration and login page.
Django comes pre-built with features so that the programmer can focus on building a web app. An important aspect for any website is storing information about your users, to which Django provides us with a
User model. The…
Exploring variables using Python
Welcome! This is a series where I introduce programming fundamentals in the programming language Python. In the last article I talked about data types.
All programs basically do one thing, they take in some data, and output some data. What a program does with that data depends heavily on the type of data it’s receiving, and I covered those basics here. The problem is, when the program takes in some data it usually needs a place to put it, we have to store it somewhere and that’s where variables come in.
Variables are one of the…
Exploring data types in Python.
I am a self taught developer that started learning to code in March of 2019. I just recently graduated with my M.S. in Chemistry and while job hunting I came across programming and didn’t look back. I’ve tried many different methods to learning to program and I’m here to share some of the ways that I think are most effective. Regardless of what you’re aspirations are, game developer, iOS developer, android developer, everyone needs to learn the basics of progamming.
I recommend that whatever language you pick, stick with it for a while, or at…
Part 3: Displaying projects for my portfolio using Django REST API and React
This is part 3 of our series to create a software developer portfolio using Django REST API and React. In part 1 I created a REST API using Django Rest Framework to retrieve information about the projects I want to display on my portfolio. In part 2 I created the front end of our React application by planning out and creating the components for the portfolio.
Now we’re ready to use React to consume data from our Django REST API. In part 1 we only created one…