Skip to content

Instantly share code, notes, and snippets.

@lmas3009
Created January 31, 2021 14:01
Show Gist options
  • Save lmas3009/bc9fcce63f4405f9957c83c3cdced135 to your computer and use it in GitHub Desktop.
Save lmas3009/bc9fcce63f4405f9957c83c3cdced135 to your computer and use it in GitHub Desktop.
A Simple MERN Full Stack Application
import mongoose from 'mongoose';
const UserDataSchema = mongoose.Schema({
Name: String,
FName: String,
Address: String,
PhonNo: String,
Email: String
})
export default mongoose.model("UserDetails",UserDataSchema)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment