To install required dependencies run: npm install To run application run in terminal:
- sailing-webpage\server> npm start to start the server
2.sailing-webpage\react> npm start to start the frontend
To run application from docker run these commands:
- docker pull matilan/react:3.0
- docker pull matilan/node:1.0
- docker compose up --build
Credentials for user's with given roles for testing purposes:
Students:
- { "username": "Adam", "password": "student_password" }
Instructors:
-
{ "username": "instructor", "password": "instructor_password" }
-
{ "username": "instructor2", "password": "instructor2_password" }
-
{ "username": "instructor3", "password": "instructor3_password" }
Admin credentials: { "username": "mati" "password": "jurek21" }