Ping Pong Tracket Project
Steps to run this on your local machine.
- If you dont have Node.js, install it priot to doing this.
- git clone master branch.
- Create your own psql database containing tables for players, teams, and games. a. Players - firstname, lastname, email, pass, team b. Teams - name, player1, player2, player3, wins, losses, ties c. Games - hometeam, homescore, awayteam, awayscore, winner
- Edit env.json to contain your psql user, database, and password
- Edit server.js to have hostname = "localhost"
- npm install
- node server.js