Pair programming: Brian Krabec and Brian Wilson
Landing page for the travel blog.
Main section where "travelers" can blog/submit photos and interact.
Traveler show page where all information about the user can be found.
username: {
type: String,
required: true
},
password: {
type: String,
required: true
},
firstName: String,
lastName: String,
dateOfBirth: Date,
hometown: String,
email: String,
profilePic: String
})
const postSchema = new mongoose.Schema({
city: String,
country: String,
date: Date,
postDescription: String,
postPicture: String,
traveler: {
type: mongoose.Schema.Types.ObjectId,
ref: 'Traveler',
required: true
},
comments: [Comment.schema]
})
const commentSchema = new mongoose.Schema({
text: String,
date: {
type: Date,
default: Date.now
},
traveler: {
type: mongoose.Schema.Types.ObjectId,
ref: 'Traveler'
}
})
- You can navigate via links.
- You can create an account, log in, and log out.
- You can browse the landing page and blog page while logged out, but cannot interact with any blog page content.
- Once logged in, you can submit content and interact with other user submissions.
- You can edit and delete your own posts.
- Traveler can view their personal information.
- Proper layout and CSS.
- Ability to "like"?
- Traveler achievements.
- Interactive UI.