text: /**
   * The post.js file is a route module that
   * contains the routes for the post page 
   * of the web application. Any post page loads
   * up the data used by a user to create a
   * post on the Travel Blog website. Posts
   * can be created, edited, and deleted.
   * 
   * An IMPORTANT fact to note is that posts
   * belong to collections. A group of related
   * posts, for example, that belong to a 
   * specific user are generally part of a
   * single collection.
   * 
   * Project: Travel Blog Web Application
   * Author: Andrew Krause
   * Date: 8/30/2022
   * 
   */
  
  // Add the packages that are required.
  var express = require('express');
  var postRouter = express.Router();
  
  // Include flash message and session packages.
  const flash = require("connect-flash");
  const session = require('express-session');
  
  // The code for SESSIONS is set up here.
  // The SESSIONS need to be set up in order
  // to use flash messages.
  postRouter.use(session({
      secret: "Confidential information.",
      resave: false,
      saveUninitialized: false
  }));
  
  // Use the flash module to transmit messages
  // to the user as well as the developers.
  postRouter.use(flash());
  
  // Include the database route in order to 
  // work with the data in the providers table.
  const database = require('./blog-database.js');
  
  /* SECTION: GET INFORMATION FROM SERVER (GET) */
  
  // ADD MORE...
  
  /* SECTION: PROCESS REQUESTS MADE TO SERVER (POST) */
  
  // ADD MORE...
  
  // Export the module for use in the main app.js file.
  module.exports = postRouter;