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.
Information | |
---|---|
Student Name | Andy Shi |
Student ID | 920579202 |
Student Email | ashi2@mail.sfsu.edu |
- Ensure you have node and sql installed.
- Create database using the database.sql file located in /application/config
- 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.
- Open a terminal and CD into the application folder of the root directory.
- Run npm install to install dependencies
- 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
- Open a terminal and CD into the application folder of the root directory.
- Run npm start (or nodemon if it is installed).
- Open localhost:3000 in a new browser tab.