Amy ResnikDeploying Rails API to Heroku and React App to Netlify From One GitHub RepoWhile at Flatiron School, they told us to create our backend/API in one GitHub repo and our frontend/client in another so that it can…Feb 22, 2020Feb 22, 2020
Amy ResnikAlgorithm to Count Distinct Pairs With Difference Equal to a ValueI’ve seen a few variations of this problem, some only wanting true or false if there is a pair that adds up to a given sum, some wanting…Feb 17, 2020Feb 17, 2020
Amy ResnikHow to upload a file on the frontend and send it using JS to a Rails backendI was recently working on a take home assessment where I had to let the user upload a file and then have the backend parse and manipulate…Feb 6, 2020Feb 6, 2020
Amy ResnikinAnalytics VidhyaAll About SQL JoinsI was recently asked in an interview to explain the difference between a JOIN and a LEFT JOIN in SQL. Admittedly it had been a while since…Feb 1, 2020Feb 1, 2020
Amy ResnikSorting in JavaScriptJavaScript has a built in sort method that sorts elements in an array and returns the sorted array. The sort method can optionally take a…Jan 27, 2020Jan 27, 2020
Amy ResnikA Beginner’s Guide To Using Reduce in JSIn my own words, reduce is an array method that is used to “reduce” all values in the array to a single value. A great example of this is…Jan 16, 2020Jan 16, 2020
Amy ResnikJS Variables — var vs let vs constWith ES6, the let and const keywords were added for variable declaration. In this post we will compare var, let, and const with regard to…Jan 12, 2020Jan 12, 2020
Amy ResnikA Brief Guide to React Developer ToolsAs a beginner React developer, we started throwing console.log functions throughout our code to check state and props within various…Oct 24, 2019Oct 24, 2019
Amy ResnikA Guide to Function Declarations, Function Expressions, and Arrow Functions in JavaScriptArrow functions are a new feature as of ES6 in 2015. They are a shorthand built on top of function expressions and don’t require you to…Oct 3, 2019Oct 3, 2019
Amy ResnikThe ~magic~ of BCrypt in RailsWe learned about implementing auth in a Ruby on Rails application earlier this week at Flatiron School. As a recap, auth has two major…Sep 12, 20191Sep 12, 20191