Ethan CollinsSetting and Using Cookies with a Node.js / Express ServerUntil recently I had been taking my server’s token from a login request, and saving it to localStorage on the frontend. The security risk…Feb 18, 20201Feb 18, 20201
Ethan CollinsUsing TypeScript Interfaces When Passing Props in ReactA super important concept in development is readability, can a new developer come in, look at your code, and understand what every part…Feb 4, 2020Feb 4, 2020
Ethan CollinsTypeScript InterfacesIn TypeScript, if you have a couple of functions which expect arguments with similar shapes, annotations can quickly become repetitive and…Jan 29, 2020Jan 29, 2020
Ethan CollinsSetting upTypeScript with a Node and Express REST APIIn this blog I’ll be building a basic REST API using Node.js, Express, and TypeScript. I’ll be working off the assumption everyone here is…Jan 28, 2020Jan 28, 2020
Ethan CollinsType Inference and Annotations in TypeScriptIn this blog I’ll be explaining basic type inference in TypeScript. To kick it off, let’s define the steps to create a variable, variable…Jan 21, 2020Jan 21, 2020
Ethan CollinsMaking a (sometimes) Fixed NavbarI built out my personal site a while ago, and one of the challenges I had was creating a navbar that scrolled with the page, but only once…Jan 10, 2020Jan 10, 2020
Ethan CollinsinThe StartupControlled Forms in ReactControlled forms are a pretty common thing in React, and I’ve definitely gotten used to using them in the past few weeks. In this blogpost…Oct 8, 2019Oct 8, 2019
Ethan CollinsinDataDrivenInvestorCreating a RESTful API with Node.js and ExpressFor my mod 3 project, 8 weeks into a bootcamp at flatiron school, I decided to branch out. While I’ve built many API’s using Ruby on Rails…Sep 16, 2019Sep 16, 2019
Ethan CollinsinThe StartupCreating a table in HTMLFor our 6-week project using ruby on rails at Flatiron, my project partner and I needed a way to display stats from many different…Aug 27, 2019Aug 27, 2019
Ethan CollinsinEthan Web DevRuby Basics: Iterating Through CollectionsI started learning Ruby around one week ago, and the change in the efficiency of my programming is significant. Long and ugly pieces of…Aug 5, 2019Aug 5, 2019