asura-tmdb/src/server
Felix Albrigtsen 52514e9e68 Renamed id to asuraId 2022-04-23 14:51:58 +02:00
..
management Added prize field 2022-04-23 13:08:03 +02:00
public Make database connection 2022-03-16 14:33:07 +01:00
.gitignore Improved database interface 2022-03-16 15:40:33 +01:00
README.md Fixed winner / team endpoints 2022-03-25 02:43:57 +01:00
clientbuild Serve clientbuild format on a single server program 2022-03-29 10:55:49 +02:00
index.js cookie fix 2022-04-23 14:02:01 +02:00
package-lock.json Rebuild setWinner() and install passport for google login 2022-04-21 15:05:19 +02:00
package.json Rebuild setWinner() and install passport for google login 2022-04-21 15:05:19 +02:00
tmdb.js Renamed id to asuraId 2022-04-23 14:51:58 +02:00

README.md

Server installation

  • Clone the repository ** Checkout the "server" branch if not merged
  • Enter the server directory: cd src/server
  • Install the node dependencies: npm install
  • Create the file .env containing your database login:
DB_HOST=mysql.stud.ntnu.no
DB_USER=dbusername
DB_PASSWORD=dbpassword
DB_DATABASE=dbname
  • Build the client (separate instructions)
  • Start the server npm start