diff --git a/server/models/User.js b/server/models/User.js index 1eb4849..83ed3d2 100644 --- a/server/models/User.js +++ b/server/models/User.js @@ -1,2 +1,9 @@ const mongoose = require('mongoose'); -const {Schema} = mongoose; \ No newline at end of file +const {Schema} = mongoose; + +const userSchema = new Schema({ + username: String, + password: String +}); + +mongoose.model('User', userSchema); \ No newline at end of file