This repository contains the frontend of the Mobistudy web server. The frontend is developed as a single-page app using the quasar framework.
You need to install the following on your system:
- nodejs
- (optional) the quasar command line tool
Install all other dependencies with npm install
.
To start the interface, run npm run dev
or, if you have installed the quasar cli, quasar dev
.
You will need the MobistudyAPI running in parallel (see MobistudyAPI README).
npm run test:unit
If you want to have quasar and the tests running in parallel and watching for code changes:
npm run concurrently:dev:jest
The code is written mostly in ES6 and uses ES6 modules, please be consistent. If you use VS Code, follow the recommended settings from Quasar.
Run quasar build
. This will generate the material UI interfaces and make it available under ./dist/
This only explains how to build and run the Docker instance of this project. For the full setup including database and web interface, see the Wiki.
Build the docker instance:
docker build -t mobistudyweb .
Then run it with:
docker run -d -p 80:80 --name mobistudyweb mobistudyweb
This will launch an ngnix instance that serves the static content, but not the API. You will need the API running as well!
Original idea: Dario Salvi and Carmelo Velardo.
Coordination: Dario Salvi and Carl Magnus Olsson.
Development:
See license file