- const db = require('../models');
- when key and value are same, just write it once.
- index of vash - displays the web page
- @model is usually used to access directly
- $set: req.body = whole object will be passed, so it is not required to individually write each.
- ajax - single page application
Recent Pastes