by Sarah Schieffer Riehl | Nov 25, 2017 | code
This process creates SSL certificates and “trusts” them to go to a fake domain in your browser with the same name as the folder containing the certificates. Typically you generate them in the root of your project directory. So if you have a project in a...
by Sarah Schieffer Riehl | Nov 25, 2017 | code
It is a truth universally acknowledged that some kind of stateful sessions are indispensable to any website with users. I’m familiar with the Node/Express ecosystem, so I’ll write specifics about that. The theory and debates underlying session architecture...
by Sarah Schieffer Riehl | Oct 27, 2017 | code
I’ve used promises on every Node project I’ve worked on over the past year. I’ve made a lot of mistakes and done a fair bit of reading on the subject. The following is a guide to writing clear, concise functional code with the Bluebird promise...
by Sarah Schieffer Riehl | May 6, 2017 | code
Updates 4/23/2019: there are a few issues I’ve run into in Sequelize 4. Mainly, createdAt & updatedAt are broken. I’ve also encounted issues with table name capitalization while running migrations on Mac vs Ubuntu. I do have fixes for these, so if...