const mongoose = require('mongoose');

const mongoose = require('mongoose');

const noteSchema = mongoose.Schema({
  user_id: String,
  // not sure what notes should be
  notes: Array,
  // this should probably be unique for a user
  title: String
});

module.exports = mongoose.model('Note', noteSchema);

Set up models for DB
Set up models for DB
