index and create todos and lists

This commit is contained in:
2018-05-16 20:12:22 +03:00
parent fa053c63d5
commit 627e99f312
7 changed files with 92 additions and 5 deletions

View File

@@ -3,7 +3,6 @@ const mongoose = require('mongoose');
const { Schema } = mongoose;
const todoListSchema = Schema({
_id: Schema.Types.ObjectId,
name: {
type: String,
required: true,