Update to movie controller and list

This commit is contained in:
Nikola Petrov
2023-07-06 23:50:39 +02:00
parent d46c4bba61
commit 2c14f5f45d
6 changed files with 117 additions and 128 deletions

9
models/userModel.js Normal file
View File

@@ -0,0 +1,9 @@
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var userSchema = new Schema({
'pass' : String,
'key' : String,
});
module.exports = mongoose.model('user', userSchema);