Running the Notes application with user authentication

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 ...

Get Node.js Web Development - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.