May 2018
Intermediate to advanced
492 pages
12h 3m
English
Now we're ready to run the Notes application and try our hand at logging in and out.
We need to change the scripts section of package.json as follows:
"scripts": { "start": "DEBUG=notes:* SEQUELIZE_CONNECT=models/sequelize-sqlite.yaml NOTES_MODEL=sequelize USER_SERVICE_URL=http://localhost:3333 node --experimental-modules ./bin/www.mjs", "dl-minty": "mkdir -p minty && npm run dl-minty-css && npm run dl- minty-min-css", "dl-minty-css": "wget https://bootswatch.com/4/minty/bootstrap.css -O minty/bootstrap.css", "dl-minty-min-css": "wget https://bootswatch.com/4/minty/bootstrap.min.css -O minty/bootstrap.min.css"},
In the previous chapters, we built up quite a few combinations of models ...
Read now
Unlock full access