/Imagetree-CSC317

Primary LanguageHandlebarsMIT LicenseMIT

CSC 317 Term Project

This is an archive of the orignal Imagetree project. It can only be used as a reference.

Purpose

The purpose of this repository is to store all the code for your web application. This also includes the history of all commits made and who made them. Only code submitted on the master branch will be graded.

Please follow the instructions below and fill in the information requested when prompted.

Student Information

Information
Student Name Andy Shi
Student ID 920579202
Student Email ashi2@mail.sfsu.edu

Build/Run Instructions

Automated Build & Run (Windows only)

  1. Ensure you have node and sql installed.
  2. Create database using the database.sql file located in /application/config
  3. Run the runApp.bat file located in the root directory in terminal of choice. This will run npm install, npm start, and open localhost:3000 in a new browser tab.

Manual Build & Run

Build Instructions

  1. Open a terminal and CD into the application folder of the root directory.
  2. Run npm install to install dependencies
  3. If that does not work, install the following packages
  • bcrypt
  • colors
  • cookie-Parser
  • debug
  • express
  • express-flash
  • express-handlebars
  • express-mysql-session
  • express-session
  • express-validator
  • morgan
  • multer
  • mysql2
  • node-gyp
  • sharp

Run Instructions

  1. Open a terminal and CD into the application folder of the root directory.
  2. Run npm start (or nodemon if it is installed).
  3. Open localhost:3000 in a new browser tab.