const express = require('express');
const mongoose = require('mongoose');

// Connect to MongoDB
mongoose.connect('mongodb://localhost/test');

const db = mongoose.connection;

// Define product schema for e-commerce demo site
let productsSchema = mongoose.Schema({
  name: String,
  description: String,
  img: String,
  price: Number
});

@@ -333,8 +333,192 @@
 ber%0A%7D);%0A
+%0A// Define flight schema for travel demo site%0Alet flightsSchema = mongoose.Schema(%7B%0A  airline: String,%0A  origin: String,%0A  dest: String,%0A  departureTime: Date,%0A  arrivalTime: Date%0A%7D);%0A

Add flightSchema for travel demo site