Learn how to add Docker to almost any Node project with simple boiler plate code.

What is Docker and why should you use it?

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.

Source (leetcode.com)

An approach to solving LeetCode questions

If you’re new to LeetCode I wrote a guideline towards my approach to solving coding interview questions which you can find here : https://medium.com/@kristian.roopnarine/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 .

Question 206

An outline of my process for solving coding interview questions to empower those who are starting to tackle data structures and algorithms.

Source (https://www.lynda.com/Software-Development-tutorials/Get-Ready-Your-Coding-Interview/576698-2.html)

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.

The Tech Interview

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.

Example of a Binary Search Tree

What are Binary Search Trees?

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 example…

An introduction to Linked Lists and some common methods for this data structure.

Source : https://www.programmingsimplified.com/c/data-structures/c-program-implement-linked-list

What are Linked Lists?

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.

How is a Linked List different than an Array?


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/ .

Why use Django REST framework?

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.

What you’ll learn

  • Django’s built-in User model
  • How to create Users with Django’s built-in UserCreationForm
  • Django’s built-in authentication URL paths
  • How to login and logout a user with Django’s authentication URLs
  • How to set permissions on Django views using decorators
  • Documentation for Django’s authentication system
  • Working boilerplate for User authentication in Django

Django’s User model

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.

The Fundamentals of Programming

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


Overview and Plan

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…

Kristian Roopnarine

Full Stack Engineer sharing tips and tricks for anyone learning to program. Connect with me on LinkedIn : https://www.linkedin.com/in/kristianroopnarine/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store