Demo app done in Express for the "Coding For Product: Intro to Frameworks & Database" lectures.
Requirements: Node, Postgres, yarn
-
clone repo
-
install packages
$ npm install- create database
$ createdb <database_name>- set up enviroment variables
- copy .env.sample, and rename it .env
- fill in the
DATABASE_URI
- run migrations
$ npm run migration
- run seed data to populate database
$ npm run seed$ yarn run dev