"Wake up, get my grind on like Section. Question?
If gang pull up, are you gonna back your bredrin?"
Homework: https://forms.gle/MUdE5XCY7VGKup1y8
Please Triple Check Before You Submit! No incomplete / fake work. It just makes my life more difficult and won't help you...
#COMMUNITYTAUGHT
Resume
Portfolio
Job Outreach
Interview Practice / Skills
Verification
I Will Be Your Reference ?
And more...
Special Discord Channels for Interview Feedback and Faster Help
every class
(Due A Week Later)
Keep !sheet Updated Weekly
1 coffee chat / 3 connections every week
EVERYTHING
Networked, Custom everything plus, tweets, blog, and project
Our Apps Don't Have Authentication (ability for users to login)
I'm not a cyber security expert
Music & Light Warning - Next Slide
Live footage of me using passport
Live footage of me after adding auth
Each application has unique authentication requirements. Authentication mechanisms, known as strategies, are packaged as individual modules.
Music & Light Warning - Next Slide
Collection
document
document
document
document
Mongoose provides a straight-forward, schema-based solution to model your application data.
Collection
document
document
document
document
Each schema maps to a MongoDB collection and defines the shape of the documents within that collection.
const UserSchema = new mongoose.Schema({
userName: { type: String, unique: true },
email: { type: String, unique: true },
password: String
})
Collection
document
document
document
document
Models are fancy constructors compiled from Schema definitions. An instance of a model is called a document.
Models are responsible for creating and reading documents from the underlying MongoDB database.
module.exports =
mongoose.model('User', UserSchema)