No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
database-files
views
.gitignore
README.md
boardgame-club.js
dbcon.js.template
package.json

README.md

Boardgame Club

Class project for OSU CS340 - Intro to Databases

Clone repository

git clone https://github.com/heidiuphoff/boardgame-club

Create test database

https://github.com/heidiuphoff/boardgame-club/blob/master/database-files/classmysql_engr_oregonstate_edu.sql

copy dbcon.js.template to dbcon.js

cp dbcon.js.template dbcon.js

add your db information

vi dbcon.js

Change the port being used in boardgame-club.js from 4573 - "app.set('port', 4573);"

vi boardgame-club.js

Import node modules

npm install express

npm install express-handlebars

npm install mysql

npm install express-session

npm install body-parser

npm install forever

Start the node server using forever

./node_modules/forever/bin/forever start boardgame-club.js