Skip to content

Instantly share code, notes, and snippets.

View StarPerfect's full-sized avatar

Corina Allen StarPerfect

View GitHub Profile

Iteration 1

Use TDD to create a Student class that responds to the following interaction pattern:

pry(main)> require './lib/student'
# => true

pry(main)> morgan = Student.new({name: "Morgan", age: 21})    
# => #<Student:0x00007fe196b0c050...>
@laurenfazah
laurenfazah / express_postgress_knex.md
Last active November 26, 2022 13:19
Cheat Sheet: Setting up Express with Postgres via Knex

Express & Postgres via Knex

Note: <example> is meant to denote text replaced by you (including brackets).

Setup

// global dependencies
npm install -g knex