Skip to content

Commit

Permalink
Merge pull request #472 from devarsheecodess/main
Browse files Browse the repository at this point in the history
Implemented Express Backend and Login,Signup functionality
  • Loading branch information
vimistify authored Oct 9, 2024
2 parents 52092fa + cd5a4f8 commit e60d24c
Show file tree
Hide file tree
Showing 12 changed files with 1,958 additions and 302 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 e60d24c

Please sign in to comment.