Skip to content

Commit

Permalink
Set up Express Backend and wrote logic for signup and login vimistify…
Browse files Browse the repository at this point in the history
  • Loading branch information
devarsheecodess committed Oct 8, 2024
1 parent eec57d2 commit d7d4f9a
Show file tree
Hide file tree
Showing 11 changed files with 1,909 additions and 382 deletions.
11 changes: 11 additions & 0 deletions Backend/Models/User.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const userSchema = new Schema({
id: {type: String, unique: true},
username: String,
email: String,
password: String
});

module.exports = mongoose.model('User', userSchema);
Loading

0 comments on commit d7d4f9a

Please sign in to comment.