/travelBees

Travel blog.

Primary LanguageHTML

SEI-Project-2

Travel Blog

Imgur

Pair programming: Brian Krabec and Brian Wilson

Wireframes

Home

Landing page for the travel blog.

Imgur

Photos/Blog

Main section where "travelers" can blog/submit photos and interact.

Imgur

Blog - Show

Imgur

Add New

Imgur

Edit and Update

Imgur

User(Traveler) Information

Traveler show page where all information about the user can be found.

Imgur

Models

  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'
  }
})

User Story

  • 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.

Stretch Goals

  • Proper layout and CSS.
  • Ability to "like"?
  • Traveler achievements.
  • Interactive UI.