/node_test

playing around with node

Primary LanguageJavaScript

node_test

playing around with node

Installation

Initial setup

Following this tutorial. There's also a blog

nvn install --lts
npx express-generator --view=pug
yarn add nodemon --dev
yarn add pg
yarn add sequelize
yarn global add sequelize-cli

migrate???

Postgres

psql postgres

CREATE ROLE "express-mvp-dbuser" WITH LOGIN PASSWORD '123.456';
CREATE DATABASE "express-mvp-db";

Debug

DEBUG=node-test:* npm start