Persistent data

Keywords

Persistent data, Express.js, mongoDB, mongoose

Presentations

https://rawgit.com/1dv023/syllabus/master/lectures/03/index.html#/

Recording

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: https://github.com/1dv023/syllabus/blob/master/resources/database-connection.md

Demo code

https://github.com/1dv023/syllabus/tree/master/lectures/03/demo

Demo movie

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

Sub docs (in english)

Reading

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