Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Latest commit

 

History

History
71 lines (43 loc) · 2.47 KB

README.md

File metadata and controls

71 lines (43 loc) · 2.47 KB

whatdoiwear.today

This repo contains the project developed by Team 21 (Devin Gonzales, Claire Lin, and Patrick Silvestre) for CS 157A at San Jose State University during the Fall 2019 semester.

Project Documentation

Project Proposal

Project Requirements

Project Data Model and Database Design v1

Project Data Model and Database Design v2

Project Data Model and Database Design v3 (Current)

Project Final Report

Running in Development Mode

(Tested on Ubuntu 20.04)

Downloading the App

Run the following using your shell:

git git@github.com:pjsilvestre/CS157A-21.git
cd CS157A-21/express-app

Setting up MySQL

Make sure you have MySQL installed, and start your server if not running already:

sudo service mysql start

If your MySQL root password is not password, you can change it as follows using your shell, then MySQL:

$ sudo mysql -u root -h localhost -p
Enter your password: ****************
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password';

Alternatively, navigate to express-app/config/database.js, and change authentication details as necessary.

Populating the Database

Run the following using MySQL:

mysql> source ../sql/initialize-schema-and-data.sql

Running the App

Make sure you have Node.js installed, then run the following using your shell, making sure you're in the CS157A-21/express-app directory:

npm install
npm run devstart

The app should now be running on localhost:3000.

Screenshots

See Final Report - Implementation.