Persistent data


Persistent data, Express.js, mongoDB, mongoose



About setting up your database

Previous years we have used Vagrant for setting up virtual machines for running an application server and a database server when developing your code. There could be some reference in the presentation back to that. This year we suggesting other solutions to this. Please read about how to do this here:

Demo code

Demo movie

Flash messages (in Swedish) - This part is included in the English presentation for 2016-11-28.

Sub docs (in english)


In the book: Web Development with Node & Express Chapter 13 (persistent data), 9 (cookie and sessions)

Optional but good

A tutorial from MDN

Welcome to CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet

Student account

To log in you need a student account at Linnaeus University.

Read more about collecting your account

Log in LNU