- Clone repo
- Go to backend and frontend directories and run npm install in both
- Run docker-compose up (in backend)
- Install knex tool globally: sudo npm i -g knex
- Run knex migrations to create db schema:
knex migrate:latest
while in backend folder - Seed the database (populate with default data):
knex seed:run
while in backend folder
- Open 2 terminals/tabs/tmux.
- Go to backend dir in first terminal and run npm run dev
- Go to frontend dir in second terminal and run npm run serve
- Open localhost:8080 browser
Username: korijen
Password: NecesRazbojnice
Role: admin
Username: ivica
Password: test
Role: student
Username: zlatko
Password: test
Role: professor