pdpatel13 / Software-Team12

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Software-Team12

Demo 2: Youtube
Report 4: Google Docs
Report 3: Google Docs
Report 2: Google Docs
Report 1: Google Docs

#Instructions to Run Server REQUIRED DEPENDENCIES AND INSTALL COMMANDS (terminal/cmd):
express: npm install express –save
mysql2: npm install mysql2
firebase: npm install firebase
cookie-parser: npm install cookie-parser
jsonwebtoken: npm install jsonwebtoken

REQUIRED FILES IN DIRECTORY:

password.json:
{
	“password”: “your mysql server password here”
}

sendgridAPI-DONOTUPLOAD.json:

{
	“key”: “your sendgrid API key here”
}

firebaseAPI-DONOTUPLOAD.json:

{
  "apiKey": "...",
  "authDomain": "...",
  "projectId": "...",
  "storageBucket": "...",
  "messagingSenderId": "...",
  "appId": "...",
  "measurementId": "...",
  "databaseURL": "..."
}

NOTE: We are providing these files to you in the email where we gave our github link.

Step-By-Step:

  1. Have Node installed and, in terminal, run all of the necessary commands to get the required dependencies specified above.
  2. Ensure you have downloaded (or created, if absolutely necessary) the json files specified above into the same directory as the “Server.js” file.
  3. Configure your mySQL server to port 3306 and start it. (This should be the default port, can be done with startsql.bat or startsql.sh)
  4. Change password in password.json to your mySQL password
  5. Navigate to Software-Team12 directory (the one containing “Server.js”)
  6. Type command node Server.js to begin the server
  7. Open web browser and navigate to localhost:8080 to view the website

About


Languages

Language:HTML 50.4%Language:JavaScript 44.2%Language:CSS 5.2%Language:Batchfile 0.1%Language:Shell 0.0%