First, what is a conditional statement?

Conditional statements are used to perform different actions based on different conditions.

We use this system of reasoning, presumably, every day in everyday decisions. I find that I use it most in strategic thinking. Whether it be designing a 5-year plan with pandemic contingencies, or a game strategy for Settlers of Catan or the like.

This system of reasoning can also be referred to as:

Logic

The study of principles of reasoning, especially of the structure of propositions as distinguished from their content and of method and validity in deductive reasoning.

Who Says?

To ancient Greeks, logic


Not until recently have I watched the movie, ‘The Matrix’. If it weren’t for the ‘John Wick’ series I may have never bothered. I’ve seen all three films (almost back-to-back) and was impressed by the evolution of both the stunts and choreography — becoming more advanced and more complex in each series release.


A giant monolith found in Utah, very shortly after my departure this past November.

Monolithic Model

So far all the applications I’ve made have followed a monolithic structure — where all my code is located in and deployed from one single codebase. I imagine this is the first structure to which most developers are introduced.

  • Routing
  • Middlewares
  • Business Logic
  • Database Access
  • Routing
  • Middlewares
  • Business Logic
  • Database Access

Microservices allow developers to create a modular-based application that is easier to deploy and maintain.

The biggest challenge in designing microservices revolves around data management. A cardinal rule for database access is that services will never reach into another service’s database. This rule ensures that each service runs independently…


This week I’m going to pick up where I left off with my project. Before I dive into Docker to generate the seed data I wanted to test out an emailer provider, something like MailChimp. Most websites today have an emailing service through which they can send out mass messages for advertising, notifications, confirmations, etc. So in this post, I’m going to go over my experience with working with the SendGrid API. Let’s get started.

API configuration/API keys

So, as always — the first step is going to be the API configuration. I decided to use SendGrid over other mailer providers for similar…


I would like to preface this post by providing a bit of context. In this article, I share what I’ve learned in my short introduction to software architecture as a patternmaker. I saw many parallels between the two practices in how they are organized and implemented. Both practices operate on levels — abstracting the final product into ‘layers’ — such as technical specification, product use, production processes, etc. Below I share the research that I found quite useful in developing a high-level understanding of software architecture.

left: 3D rendering of a final garment, right: a zero-waste pattern for the same garment.

patternmaker: noun A person, machine, or software program that makes patterns, as for sewing…


I am currently mid-way through re-building my capstone project from Flatiron. The re-build is a project I wanted to do as a way to focus on adding new libraries and functions entirely without having to concern myself with the structure of the site again.

This post is about creating a payment gateway using the Stripe API with React/Node.js.

This was the first feature I cut in version 1 of this project and was also the first feature I wanted to include in the re-build. …


This is a mongoose.

For my last post, I wrote about my experience with passport JS/Google OAuth.

Next on the list was to create a database to save user data. For this project, I decided to explore MongoDB, a schema-less database. The biggest difference I noticed with Mongo is that each entry can have its own unique set of properties. This is in direct contrast to SQL-based, or relational databases — whose entries must all have the same properties.

MongoDB Setup

  • Sign up with MongoDB if you don’t already have an account.
  • ‘Create a Cluster’ — I selected the free sandbox version for now.
  • Create a…


Whenever I start a new project I like to think of it like this:

As the title of this post suggests, for my next project I decided that I wanted users to be able to log in with their Google account.

In addition to Google OAuth, I also implemented passportJS to assist in authorization handling. I’m going to go over my experience in setting these tools up.

Installation


Every year as Thanksgiving comes, I am reminded of my Native American heritage (mostly by my mother who herself is 100% Cheyenne). I think of my relatives, particularly my maternal grandmother because she is one of the few people (the only person I know) that can still speak the native language of my tribe of 22,000 people.

Anyways, I’ll get to the point. One day while reading “Code”, by Charles Petzold I found myself wondering, ‘how many programming languages are there? Where did they come from?’ — a question everyone who likes code has asked themselves. This curiosity reminds me…


Recently, I completed my first beginner-level React/Rails e-commerce application and in my retrospective, I have decided to work on some of the features that didn’t quite make the cut. The one feature that I promised myself I would come back to is a ‘style-quiz’. In my research, I quickly crossed paths with recommendation engines- which I found to be both very fascinating and worth sharing. Here, I will be sharing my findings; first of which will be the three main types of recommendations, ending with the recommendation process.

What does into a good recommendation engine? pie chart
What does into a good recommendation engine? pie chart
source: blogs.sas.com

Types of Recommendations

Something I found quite useful right off the bat…

Maya Alexandera

Software Engineer

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