austindryden / pets-SQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to backend + postgres

set up an NPM proj

Set the database

'''' Createdb pets touch schema.sql touch seed.sql

put stuff in schema.sql and seed.sql

what you should know after today:

  • how do I access my database from noe?
    • how do I use.one?
    • How do I use .any (or .query)?
    • how do I use pg-promise's special interpolation syntax
  • conseptually, what is a linking table? (manoy-to-many)

Ultimately, the goal is to res.render

About


Languages

Language:JavaScript 80.0%Language:HTML 20.0%