Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const mongoose = require( 'mongoose' )
- const Schema = mongoose.Schema
- const schema = Schema( {
- username: String,
- email: String,
- password: String
- } )
- const Model = mongoose.model( 'User', schema )
Add Comment
Please, Sign In to add comment