Material bank
August 24, 2025 ยท View on GitHub
This is a repository for the University of Helsinki course Full Stack -project.
This material bank is intended for remote therapy. More and more often, therapies are carried out remotely. For that there is a needs for a material bank, from which it is possible to quickly and easily search for various test and rehabilitation materials in connection with a video-mediated therapy session. The materials can be e.g. word or pdf files or links to other websites.
Documentation
Scorecards
Quickstart
Downloading
git clone git@github.com:phuvio/Material-bank.git
Installation
Run the following command in root directory:
npm install
Installs the required dependencies on both frontend and backend
Running the program locally
Running the program locally in development mode:
npm run dev
Running unit tests
Frontend:
npm run test:frontend
Backend:
npm run test:backend
Both front- and backend:
npm run test
Running unit tests with coverage
Frontend:
npm run coverage:frontend
Backend:
npm run coverage:backend
Both front- and backend:
npm run test:coverage
Running e2e tests
First start front- and backend in test mode. This is important. otherwise there is a risk of messing up the production database.
npm run dev:test
Second start Postgres Docker container:
docker compose -f .\docker-compose.yml up -d
Third run the e2e tests:
npm run test:e2e
Running eslint
npm run lint
License
This project is licensed for non-commercial use only.
See the LICENSE file for full details.
Security
For information on reporting vulnerabilities, please see SECURITY.md.