- Install all dependencies in all sub folders with
npm install
or use this script:
$ ./npm_install_all.sh
- Start the docker-compose environment:
$ docker-compose up -d
- Run the database seeder:
$ docker-compose exec backend npm run db:seed
The frontend can be opened at the URL http://rddms.localhost/
.
- Install all dependencies in all sub folders with
npm install
or use this script:
$ ./npm_install_all.sh
-
Add a MongoDB connection string in file
backend/.env
(see example inbackend/.env-example
). -
Start the backend:
$ cd backend
$ npm run dev
- Run the database seeder:
$ cd backend
$ npm run db:seed
- Install Quasar CLI
$ npm install -g @quasar/cli
- Start the frontend:
$ cd frontend
$ quasar dev
The frontend can be opened at the URL http://localhost:8080/
.
$ cd backend
$ npm run test
Run all tests:
$ docker-compose -f docker-compose.test.yml run backend
Run only a single test, e.g. loads-upload
:
$ docker-compose -f docker-compose.test.yml run backend loads-upload
Watch tests:
$ docker-compose -f docker-compose.test.yml run backend --watchAll