asura-tmdb/src/server
2022-03-28 22:28:34 +02:00
..
management Long development session 2022-03-24 21:45:47 +01: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
index.js Changed hosting path 2022-03-28 22:28:34 +02:00
package-lock.json Logging. Tournament editor. 2022-03-25 15:01:36 +01:00
package.json Logging. Tournament editor. 2022-03-25 15:01:36 +01:00
README.md Fixed winner / team endpoints 2022-03-25 02:43:57 +01:00
tmdb.js Coding session - Team manager 2022-03-28 15:19:55 +02:00

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